pub struct PowerShell;
Expand description
Generate powershell completion file
Trait Implementations§
Source§impl Generator for PowerShell
impl Generator for PowerShell
Source§fn file_name(name: &str) -> String
fn file_name(name: &str) -> String
Returns the file name that is created when this generator is called during compile time. Read more
Source§fn all_subcommands(app: &App<'_>) -> Vec<(String, String)>
fn all_subcommands(app: &App<'_>) -> Vec<(String, String)>
Gets all subcommands including child subcommands in the form of
("name", "bin_name")
. Read moreSource§fn find_subcommand_with_path<'help, 'app>(
p: &'app App<'help>,
path: Vec<&str>,
) -> &'app App<'help>
fn find_subcommand_with_path<'help, 'app>( p: &'app App<'help>, path: Vec<&str>, ) -> &'app App<'help>
Source§fn shorts_and_visible_aliases(p: &App<'_>) -> Vec<char>
fn shorts_and_visible_aliases(p: &App<'_>) -> Vec<char>
Gets all the short options, their visible aliases and flags of a
clap::App
.
Includes h
and V
depending on the clap::AppSettings
.Source§fn longs_and_visible_aliases(p: &App<'_>) -> Vec<String>
fn longs_and_visible_aliases(p: &App<'_>) -> Vec<String>
Gets all the long options, their visible aliases and flags of a
clap::App
.
Includes help
and version
depending on the clap::AppSettings
.Auto Trait Implementations§
impl Freeze for PowerShell
impl RefUnwindSafe for PowerShell
impl Send for PowerShell
impl Sync for PowerShell
impl Unpin for PowerShell
impl UnwindSafe for PowerShell
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