1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-09 17:46:52 +00:00
testscript-rs/examples/sample-cli/testdata/basic_functionality.txt
Jason Hall c39114f1a9 initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 18:41:14 -04:00

19 lines
No EOL
349 B
Text

# Test basic sample-cli functionality
# Test help output
exec ./sample-cli --help
stdout ".*sample CLI tool.*"
# Test version
exec ./sample-cli --version
stdout "sample-cli 1.0"
# Test no command shows info
exec ./sample-cli
stdout ".*demonstration CLI tool.*"
stdout ".*--help.*"
-- test_file.txt --
Hello world
This is line two
Line three here