pub enum CliCommand {
Keys {
keys: String,
client: u64,
},
Mode {
client: u64,
},
Cursor {
client: u64,
},
Buffers,
Buffer {
id: Option<u64>,
},
Registers {
name: Option<String>,
},
Capture {
client: Option<u64>,
capture_format: String,
web_url: Option<String>,
width: u32,
height: u32,
dpr: u32,
output: Option<String>,
},
Ping,
Version,
Clients,
ExtensionState {
kind: String,
client: u64,
},
Extensions,
}Expand description
CLI commands.
Variants§
Keys
Send keys to a specific client.
Fields
Mode
Get a specific client’s editor mode.
Cursor
Get a specific client’s cursor position.
Buffers
List open buffers.
Buffer
Get buffer content.
Registers
Get register contents.
Without arguments, lists all non-empty registers. With a register name, shows that register’s content.
Capture
Capture screen content.
For text formats (plain_text, raw_ansi, cell_grid): captures via gRPC relay
from a connected TUI client (requires --client).
For visual formats (png, html): captures via Playwright headless browser
running the real web client (requires --web-url).
Fields
Ping
Ping the server (health check).
Version
Get server version and info.
Clients
List connected clients (read-only debug query).
ExtensionState
Query extension state (e.g., which-key, cmdline).
Fields
Extensions
List registered extensions.
Trait Implementations§
Source§impl Debug for CliCommand
impl Debug for CliCommand
Source§impl FromArgMatches for CliCommand
impl FromArgMatches for CliCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for CliCommand
impl Subcommand for CliCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for CliCommand
impl RefUnwindSafe for CliCommand
impl Send for CliCommand
impl Sync for CliCommand
impl Unpin for CliCommand
impl UnsafeUnpin for CliCommand
impl UnwindSafe for CliCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request