()
| 27 | |
| 28 | impl DefineAndChangeArgsCommand { |
| 29 | pub(super) fn new() -> Rc<Self> { |
| 30 | Rc::from(Self { |
| 31 | metadata: CallableMetadataBuilder::new("DEFINE_AND_CHANGE_ARGS") |
| 32 | .with_syntax(&[( |
| 33 | &[], |
| 34 | Some(&RepeatedSyntax { |
| 35 | name: Cow::Borrowed("arg"), |
| 36 | type_syn: RepeatedTypeSyntax::VariableRef, |
| 37 | sep: ArgSepSyntax::OneOf(&[ArgSep::Long, ArgSep::Short]), |
| 38 | require_one: true, |
| 39 | allow_missing: false, |
| 40 | }), |
| 41 | )]) |
| 42 | .test_build(), |
| 43 | }) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | impl Callable for DefineAndChangeArgsCommand { |
nothing calls this directly
no test coverage detected