Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive CLI "cotshell" #23

Open
glennmatthews opened this issue Jan 5, 2015 · 1 comment
Open

Interactive CLI "cotshell" #23

glennmatthews opened this issue Jan 5, 2015 · 1 comment

Comments

@glennmatthews
Copy link
Owner

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
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant