Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Last active June 30, 2022 12:39
Show Gist options
  • 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