cloudius-systems / capstan

Capstan, a tool for packaging and running your application on OSv. http://osv.io/capstan
Other
363 stars 82 forks source link

capstan cli improvements (array of arguments, input file) #169

Open aitorhh opened 6 years ago

aitorhh commented 6 years ago

Hi,

To have a similar interface as docker. I would suggest to support providing a list of arguments instead of a single one.

At the moment, this is not valid:

capstan delete capstan-example-java capstan-example-java-2 capstan-example-java-3

Only:

capstan delete capstan-example-java 
capstan delete capstan-example-java-2 
capstan delete capstan-example-java-3

The example is just with delete but apply to others like rmi and stop.

aitorhh commented 6 years ago

Another improvement, is to provide the options as docker --file for the capstan bulid. It will look as follows:

capstan build app1 --file Capstanfile.app1 or capstan build app1 -f Capstanfile.app1