Bases: tic.core.TicError
Exception raised when an admin command cannot be executed.
Bases: tic.core.Component
tic command manager.
List of components that implement tic.development.admin.api.IAdminCommandProvider
Bases: tic.core.Interface
Extension point interface for adding commands to the console administration interface.
Return a list of available admin commands.
The items returned by this function must be tuples of the form (command, args, help, complete, execute), where command contains the space-separated command and sub-command names, args is a string describing the command arguments and help is the help text. The first paragraph of the help text is taken as a short help, shown in the list of commands.
complete is called to auto-complete the command arguments, with the current list of arguments as its only argument. It should return a list of relevant values for the last argument in the list.
execute is called to execute the command, with the command arguments passed as positional arguments.
Bases: list
A list of paths for command argument auto-completion.
Bases: cmd.Cmd
Convert input to an unicode object.
For a str object, we’ll first try to decode the bytes using the given charset encoding (or UTF-8 if none is specified), then we fall back to the latin1 encoding which might be correct or not, but at least preserves the original byte sequence by mapping each byte to the corresponding unicode code point in the range U+0000 to U+00FF.
Otherwise, a simple unicode() conversion is attempted, with some special care taken for Exception objects.