UNPKG

magicpatch

Version:

Adds IPython / Jupyter magic commands to IJavascript

17 lines (13 loc) 318 B
/* global $$ */ function rmdir(cmd, ... args) { return this.exec("rmdir", args); } let {decorateMagic} = $$.addMagic.utils; decorateMagic( rmdir, __filename, "Runs `rmdir` in the shell with the specified arguments.", ["name", "%rmdir"], ); delete rmdir.argsParser; $$.addMagic("%rmdir", rmdir);