Last active
June 30, 2022 12:39
-
-
Save ripienaar/227646a06b87e44553f07bb9068b4ea8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./demo say hello | |
_______ | |
< hello > | |
------- | |
\ ^__^ | |
\ (oo)\_______ | |
(__)\ )\/\ | |
||----w | | |
|| || |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment