System command aliases.
Authors:
Bases: exceptions.Exception
Bases: IPython.config.configurable.Configurable
Call an alias given its name and the rest of the line.
An instance of a Python list.
Define a new alias after validating it.
This will raise an AliasError if there are validation problems.
Expand an alias in the command line
Returns the provided command line, possibly with the first word (command) translated according to alias expansion rules.
Expand multiple levels of aliases:
if:
alias foo bar /tmp alias baz foo
then:
baz huhhahhei -> bar /tmp huhhahhei
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Define an alias, but don’t raise on an AliasError.
Transform alias to system command string.
An instance of a Python list.
Validate an alias and return the its number of arguments.