-
name: demo
description: demo
author: https://github.com/choria-io/appbuilder
type: parent
commands:
- name: hi
description: hi subcommands
type: parent
commands:
- name: hello
description: hello
type: exec
command: |
echo "world"
echo "hi" $ demo hi hello
world echo hi This is incorrect. This should echo world and then echo hi but instead it turns it all into a single line and executes only one command. Is there a way to run multiple commands using a single command ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I have been thinking about some kind of multi command option. But you can also just do like bash -e “one;two;three” kind of thing for a command |
Beta Was this translation helpful? Give feedback.
-
From the next version you'll be able to embed shell scripts in apps https://choria-io.github.io/appbuilder/reference/exec/#shell-scripts |
Beta Was this translation helpful? Give feedback.
From the next version you'll be able to embed shell scripts in apps https://choria-io.github.io/appbuilder/reference/exec/#shell-scripts