cot
cot copied to clipboard
Interactive CLI "cotshell"
trafficstars
In combination with #22, it would also be useful to provide some sort of interactive mode to allow step-by-step construction of complex CLI, for example something like:
$ cot
cot> package foo.ova
cot> edit-hardware
cot-edit-hardware> cpus 4
cot-edit-hardware> memory 4GB
cot-edit-hardware> done
Command: 'cot edit-hardware foo.ova --cpus 4 --memory 4GB'
cot> write bar.ova
Command: 'cot edit-hardware foo.ova --cpus 4 --memory 4GB --output bar.ova'
Created bar.ova (new file)
cot> exit
$
Looks like plac provides some such capabilities - http://plac.googlecode.com/hg/doc/plac.html