[jboss-as7-dev] proposed cli changes
Alexey Loubyansky
alexey.loubyansky at redhat.com
Mon Mar 7 09:33:13 EST 2011
Max, Emanuel and I discussed the usability aspects of the cli today. We
agreed on the following:
1) drop the '/' prefix for the commands;
2) instead of '~' signifying the root node use '/';
3) instead of ',' as a node separator in the address (node path) use
'/'. so the format of an operation will look like
[node-type=node-name (/node-type=node-name)*] : operation-name
['('param=value (,param=value)*')']
This (2 and 3) will make the path look more linux-like, so hopefully
more friendly for an admin.
4) in the same spirit, the tab-completion for operations will start with
'./', e.g. './subsystem=web/connector=http:read-resource'
5) for the command names, Max likes
cn (change node) - current /prefix or /to.
cwn (current working node) - again current /prefix or /to w/o arguments.
I'd even go for cd to change the node. The reason I didn't add it
originally was 'directory' doesn't belong here. But cd is kind of habit
for this kind of thing, so I could add it as an alias.
Any objections or suggestions?
Thanks,
Alexey
More information about the jboss-as7-dev
mailing list