-
Hello, i've a small project which align TestRail API to some kind of CLI toolkit. Recently i have discovered Bashly and have try to use it for my tiny project. One of the feature of my project is that it allows to process multiple items at once. For example, API |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I have no experience with |
Beta Was this translation helpful? Give feedback.
-
Minimal test: # bashly.yml
name: cli
commands:
- name: test
- name: internal
private: true
args:
- name: messages
repeatable: true
required: true # src/test_command.sh
parallel ./cli internal ::: 1 2 3
# src/internal_command.sh
eval "messages=(${args['messages']})"
echo "===> ${messages[*]}" then running:
|
Beta Was this translation helpful? Give feedback.
I have no experience with
parallel
, but at least one solution seems to be possible; Define the single action you want to perform as a private command, and simply run it throughparallel
.