diff --git a/examples/centry/commands/get.sh b/examples/centry/commands/get.sh index bec4da1..7637183 100644 --- a/examples/centry/commands/get.sh +++ b/examples/centry/commands/get.sh @@ -30,3 +30,9 @@ get:files() { get:hidden() { echo "This subcommand won't be displayed in help output" } + +# centry.cmd[get:error]/description=A command that will always generate an error +get:error() { + echo "I will generate an error" + exit 123 +}