]>
www.infradead.org Git - users/dhowells/kafs-utils.git/commit
Implement the core of the command suite
Implement the core of the command suite. This includes:
(*) Standard AFS argument parsing.
(*) Autogeneration of parsers for commands, based on description in banner
comments and handler function arguments.
(*) Bash completion.
(*) Command suite multiplexing based on argv[0] and argv[1].
(*) "help" and "apropos" for bos, fs, pts and vos.
Each command must be preceded by a comment that conforms to the following
template:
/***
* COMMAND: suite command - one-line help
* ARG: "-switchname"
* ARG: "-switchname <param-help>"
* ARG: "-switchname <param-help>+"
* ARG: [...]"
* ARG: ... - Auth"
* ARG: ... - New"
* NOCOMBINE: switchname, switchname
* NOCOMBINE: switchname, switchname
* NOCOMBINE: switchname, switchname
*
* multiline help
* multiline help
* multiline help
* multiline help
*/
Aliases can be coded by:
/***
* ALIAS: suite command - command_alias_for
*/
Signed-off-by: David Howells <dhowells@redhat.com>
16 files changed: