Lines Matching refs:names
1347 /// Allow partial matches of [subcommand] names and their [aliases].
2358 pub fn aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self {
2360 .extend(names.into_iter().map(|n| (n.into(), false)));
2384 pub fn short_flag_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self {
2385 for s in names {
2412 pub fn long_flag_aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self {
2413 for s in names {
2543 pub fn visible_aliases(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self {
2545 .extend(names.into_iter().map(|n| (n.into(), true)));
2565 pub fn visible_short_flag_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self {
2566 for s in names {
2591 names: impl IntoIterator<Item = impl Into<Str>>,
2593 for s in names {
2961 /// The executable can be called from different names by creating hard links
3011 /// The names of the immediate subcommands of the Command
4455 /// Iterate through all the names of all subcommands (not recursively), including aliases.