pub struct CliCore {
pub open_paths: Vec<String>,
pub editor_options: EditorOptions,
pub troubleshooting: EditorTroubleshooting,
pub global_options: GlobalOptions,
pub subcommand: Option<Commands>,
}
Expand description
Common CLI shared between intergated and standalone interfaces.
Fields§
§open_paths: Vec<String>
One or more files, folders, or URIs to open.
editor_options: EditorOptions
§troubleshooting: EditorTroubleshooting
§global_options: GlobalOptions
§subcommand: Option<Commands>
Implementations§
Trait Implementations§
Source§impl Args for CliCore
impl Args for CliCore
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§impl<'a> From<&'a CliCore> for CodeServerArgs
impl<'a> From<&'a CliCore> for CodeServerArgs
Source§impl FromArgMatches for CliCore
impl FromArgMatches for CliCore
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Auto Trait Implementations§
impl Freeze for CliCore
impl RefUnwindSafe for CliCore
impl Send for CliCore
impl Sync for CliCore
impl Unpin for CliCore
impl UnwindSafe for CliCore
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