v/vlib/v/tests/inout/cli_command_no_execute.vv

12 lines
143 B
V

import cli {Command}
fn main() {
mut cmd := Command {
name: 'cmd'
}
cmd.add_command({
name: 'foo'
})
cmd.parse(['', 'cmd', 'foo'])
}