##// END OF EJS Templates
Merge pull request #10527 from Carreau/repr-mimebundle-doc...
Merge pull request #10527 from Carreau/repr-mimebundle-doc Document _repr_mimebundle_

File last commit:

r23639:0a183e6b
r23679:09e174c1 merge
Show More
aliasmagicparams-feature.rst
22 lines | 574 B | text/x-rst | RstLexer
/ docs / source / whatsnew / pr / aliasmagicparams-feature.rst

Added the ability to add parameters to alias_magic.

e.g.:

In [2]: %alias_magic hist history --params "-l 2" --line Created %hist as an alias for %history -l 2.

In [3]: hist %alias_magic hist history --params "-l 30" --line %alias_magic hist history --params "-l 2" --line

Previously it was only possible to have an alias attached to a single function, and you would have to pass in the given parameters every time.

e.g.:

In [4]: %alias_magic hist history --line Created %hist as an alias for %history.

In [5]: hist -l 2 hist %alias_magic hist history --line