Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Last active June 30, 2022 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ripienaar/227646a06b87e44553f07bb9068b4ea8 to your computer and use it in GitHub Desktop.
Save ripienaar/227646a06b87e44553f07bb9068b4ea8 to your computer and use it in GitHub Desktop.
name: demo
description: Demo application for Choria App Builder
author: https://github.com/choria-io/appbuilder
commands:
- name: say
description: Say something using the configured command
type: exec
command: |
{{ default .Config.Cowsay "cowsay" }} {{ .Arguments.message | escape }}
arguments:
- name: message
description: The message to send to the terminal
required: true
$ ./demo
usage: demo [<flags>] <command> [<args> ...]
Demo application for Choria App Builder
Contact: https://github.com/choria-io/appbuilder
Commands:
say <message>
Say something using the configured command
% ./demo say hello
_______
< hello >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment