cot icon indicating copy to clipboard operation
cot copied to clipboard

Interactive CLI "cotshell"

Open glennmatthews opened this issue 9 years ago • 1 comments

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
$

glennmatthews avatar Jan 05 '15 15:01 glennmatthews

Looks like plac provides some such capabilities - http://plac.googlecode.com/hg/doc/plac.html

glennmatthews avatar Jan 05 '15 17:01 glennmatthews