feat: bring back scripts interface #171

Merged
decentral1se merged 2 commits from scripts-cmd into main 2022-03-27 19:30:49 +00:00
Owner

I added the followig to ~/.abra/recipes/hometown/abra.sh:

test1() {
  echo "hai hai $TARGET $APP_NAME"
}

test2() {
  echo "hai hai $1"
}

And ran:

abra app cmd example.com app test1
hai hai app example_com

abra app cmd example.com test1 -l
hai hai local example_com

abra app cmd example.com app test2 -- me
hai hai me

Does this look like it matches expectations? We'll most likely need to push out a RC for testing purposes as I doubt this will stand up to scripting needs straight away. Any comments/feedback on whatever aspect of this now is more than welcome.

I added the followig to `~/.abra/recipes/hometown/abra.sh`: ```bash test1() { echo "hai hai $TARGET $APP_NAME" } test2() { echo "hai hai $1" } ``` And ran: ```bash abra app cmd example.com app test1 hai hai app example_com abra app cmd example.com test1 -l hai hai local example_com abra app cmd example.com app test2 -- me hai hai me ``` Does this look like it matches expectations? We'll most likely need to push out a RC for testing purposes as I doubt this will stand up to scripting needs straight away. Any comments/feedback on whatever aspect of this now is more than welcome.
decentral1se added 2 commits 2022-03-27 15:18:16 +00:00
feat: bring back scripts interface
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
e30ecb8abe
See coop-cloud/organising#301.
decentral1se force-pushed scripts-cmd from 971801ea87 to 7a73d552ed 2022-03-27 15:30:28 +00:00 Compare
decentral1se merged commit 860f1d6376 into main 2022-03-27 19:30:49 +00:00
decentral1se deleted branch scripts-cmd 2022-03-27 19:30:54 +00:00
Author
Owner

Follow up fixes/improvements: coop-cloud/abra#172 (unreleased)

Follow up fixes/improvements: https://git.coopcloud.tech/coop-cloud/abra/pulls/172 (unreleased)
Sign in to join this conversation.
No description provided.