diff options
Diffstat (limited to 'v_windows/v/vlib/v/tests/inout/cli_command_no_execute.vv')
-rw-r--r-- | v_windows/v/vlib/v/tests/inout/cli_command_no_execute.vv | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/tests/inout/cli_command_no_execute.vv b/v_windows/v/vlib/v/tests/inout/cli_command_no_execute.vv new file mode 100644 index 0000000..fd145e1 --- /dev/null +++ b/v_windows/v/vlib/v/tests/inout/cli_command_no_execute.vv @@ -0,0 +1,11 @@ +import cli {Command} + +fn main() { + mut cmd := Command{ + name: 'cmd' + } + cmd.add_command( + name: 'foo' + ) + cmd.parse(['', 'cmd', 'foo']) +} |