aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/tests/inout/cli_command_no_execute.vv
diff options
context:
space:
mode:
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.vv11
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'])
+}