Bases: object
Returns the argument parser for this command.
Use partial=True if you want to tolerate incomplete last token and avoid executing help action (e.g. during completion).
If command offers a contextual parser, use it, otherwise fall back to a normal parser.
Provide the subject of the command (usually free arguments and/or current directory path)
Bases: grokcore.component.components.Subscription
Just an example of common args, not actually sure that -v is needed in every command.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Outputs the command line arguments.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Outputs the type of an object.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Outputs the names of all commands.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Prints the shell history.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Implement the kill command which can send signals to tasks.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Prints out the last error.
Useful for devs, and users reporting to issue tracker. (Inspired by xsbt)
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Creates a (sym)link to an object.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Moves an object.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Represents the fact that there is no command yet.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
This command represents the oms shell. Currently it cannot run a nested shell.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Prints the environment variables.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Quits the console.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Deletes an object.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Modifies the environment variables.
Bases: grokcore.component.components.Adapter
Dynamically creates the key=value arguments for the set and mk commands depending on the object or type being edited or created.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Do nothing for some time.
Bases: opennode.oms.endpoint.ssh.cmd.base.Cmd
Emulates ‘ps’ command, including bsd args.
Bases: opennode.oms.endpoint.ssh.cmd.completion.Completer
Completes argument switches based on the argparse grammar exposed for a command
Bases: opennode.oms.endpoint.ssh.cmd.completers.PathCompleter
Completes a command.
Bases: opennode.oms.endpoint.ssh.cmd.completers.PathCompleter
Implement a FS path completer which works as subcompleter for the keyworded arguments.
Bases: opennode.oms.endpoint.ssh.cmd.completers.ArgSwitchCompleter
Completes key=value argument switches based on the argparse grammar exposed for a command. TODO: probably more can be shared with ArgSwitchCompleter.
Bases: opennode.oms.endpoint.ssh.cmd.completers.ArgSwitchCompleter
Completes the value part of key=value constructs based on the type of the keyword. Currently works only for args which declare an explicit enumeration.
Bases: opennode.oms.endpoint.ssh.cmd.completers.PositionalCompleter
Completes a path name.
Bases: opennode.oms.endpoint.ssh.cmd.completers.PositionalCompleter
Bases: opennode.oms.endpoint.ssh.cmd.completion.Completer
Base class for positional completers.
Bases: martian.directive.Directive
Use this directive in a class in order to set its command name. Only classes marked with this directive will be valid commands.
Bases: martian.directive.Directive
Use this directive in a class in order to add an alias. TODO: make it work with multiple aliases.
Bases: exceptions.Exception