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

Create special commands support #73

Closed xmnlab closed 1 year ago

xmnlab commented 1 year ago

in order to keep consistency with docker-compose commands and also create new "sugar" commands, it would be good to have a way to specify if it is a regular command or a special one.

additionally in the future we could allow some commands defined by the user and it would need a different way to specify that as well.

My suggestion is to use something like this:

the extension commands should be added in a separated class

xmnlab commented 1 year ago

completed by https://github.com/osl-incubator/containers-sugar/pull/77