Skip to content

Commit

Permalink
Added example command that will always generate an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofferahl committed Feb 26, 2021
1 parent e4165a0 commit cff2892
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/centry/commands/get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit cff2892

Please sign in to comment.