osl-incubator / sugar

Simplify the usage of containers
https://osl-incubator.github.io/sugar/
BSD 3-Clause "New" or "Revised" License
7 stars 8 forks source link

refactor: Improve the usage of parameters --cmd and --options (formerly --extras) #68

Closed xmnlab closed 1 year ago

xmnlab commented 1 year ago

Pull Request description

This PR aims to improve the usage of the parameters passed to the compose app. it renames --extras to --options and improve both --options and --cmd in order to allow it outside quotes.

containers-sugar run --group group1 --service service1-1 --options -T --cmd python -c "print('test')"

How to test these changes

Pull Request checklists

This PR is a:

About this PR:

Author's checklist:

Additional information

Reviewer's checklist

Copy and paste this template for your review's note:

## Reviewer's Checklist

- [ ] I managed to reproduce the problem locally from the `main` branch
- [ ] I managed to test the new changes locally
- [ ] I confirm that the issues mentioned were fixed/resolved .