On Thursday 24 March 2011 06:52:12 Ratan Sebastian wrote:
Here's some of the commands the client would have. I had a look at osc and the Studio API in coming up with this. Let me know what you think.
That's a good start. One general problem we have to solve is how to make it clear, which commands work in which context. The list you made includes commands which work locally, like the files commands, and commands which work remotely like the templates or appliances commands, and to make things more complicated there are commands which need both, like the diffs.
Additionally it makes a difference, if you call the client within an appliance or outside of an appliance. All this could be very confusing. I think we need a consistent scheme how to deal with that, so it's clear which commands apply to what, if you see and change things locally or remotely, and which appliance is the context.
One option could be to separate command line tools, and have one for working inside an appliance and another one for working independent of a local appliance. But this could also be reflected in the structure of the commands. Ideas and good concepts are welcome.