blob: fad8522688c16fba18c350e03ad26362f21b312b [file] [log] [blame]
cue help cmd hello
cmp stdout expect-stdout
-- cue.mod --
-- task_tool.cue --
package home
import "tool/cli"
// say hello to someone
//
// Usage: hello
//
// Hello can be used to say hello to the world.
command: hello: {
task: say: {
cli.Print
text: "Hello world!"
}
}
-- expect-stdout --
Hello can be used to say hello to the world.
Usage:
cue cmd hello [flags]
Flags:
-h, --help help for hello
Global Flags:
-E, --all-errors print all available errors
-i, --ignore proceed in the presence of errors
-s, --simplify simplify output
--strict report errors for lossy mappings
--trace trace computation
-v, --verbose print information about progress