api documentation for shelljs (v0.7.7)

Portable Unix shell commands for Node.js

table of contents

  1. module shelljs
    1. function shelljs.ShellString (stdout, stderr, code)
    2. function shelljs.cat ()
    3. function shelljs.cd ()
    4. function shelljs.chmod ()
    5. function shelljs.cp ()
    6. function shelljs.dirs ()
    7. function shelljs.echo ()
    8. function shelljs.error ()
    9. function shelljs.exec ()
    10. function shelljs.exit ()
    11. function shelljs.find ()
    12. function shelljs.grep ()
    13. function shelljs.head ()
    14. function shelljs.ln ()
    15. function shelljs.ls ()
    16. function shelljs.mkdir ()
    17. function shelljs.mv ()
    18. function shelljs.popd ()
    19. function shelljs.pushd ()
    20. function shelljs.pwd ()
    21. function shelljs.rm ()
    22. function shelljs.sed ()
    23. function shelljs.set ()
    24. function shelljs.sort ()
    25. function shelljs.tail ()
    26. function shelljs.tempdir ()
    27. function shelljs.test ()
    28. function shelljs.touch ()
    29. function shelljs.uniq ()
    30. function shelljs.which ()
    31. object shelljs.common
    32. object shelljs.config
    33. object shelljs.plugin
    34. object shelljs.shell
  2. module shelljs.common
    1. function shelljs.common.ShellString (stdout, stderr, code)
    2. function shelljs.common.convertErrorOutput (msg)
    3. function shelljs.common.error (msg, _code, options)
    4. function shelljs.common.expand (list)
    5. function shelljs.common.extend ()
    6. function shelljs.common.getUserHome ()
    7. function shelljs.common.isObject (a)
    8. function shelljs.common.log ()
    9. function shelljs.common.parseOptions (opt, map, errorOptions)
    10. function shelljs.common.randomFileName ()
    11. function shelljs.common.readFromPipe ()
    12. function shelljs.common.register (name, implementation, wrapOptions)
    13. function shelljs.common.unlinkSync (file)
    14. function shelljs.common.wrap (cmd, fn, options)
    15. object shelljs.common.config
    16. object shelljs.common.state
    17. string shelljs.common.platform
  3. module shelljs.config
    1. boolean shelljs.config.fatal
    2. boolean shelljs.config.noglob
    3. boolean shelljs.config.silent
    4. boolean shelljs.config.verbose
    5. function shelljs.config.reset ()
    6. function shelljs.config.resetForTesting ()
    7. number shelljs.config.maxdepth
    8. object shelljs.config.globOptions
    9. string shelljs.config.execPath
  4. module shelljs.dirs
    1. function shelljs.dirs (options, index)
    2. function shelljs.dirs.popd (options, index)
    3. function shelljs.dirs.pushd (options, dir)
  5. module shelljs.plugin
    1. function shelljs.plugin.error (msg, _code, options)
    2. function shelljs.plugin.parseOptions (opt, map, errorOptions)
    3. function shelljs.plugin.readFromPipe ()
    4. function shelljs.plugin.register (name, implementation, wrapOptions)
  6. module shelljs.shell
    1. function shelljs.shell.ShellString (stdout, stderr, code)
    2. function shelljs.shell.cat ()
    3. function shelljs.shell.cd ()
    4. function shelljs.shell.chmod ()
    5. function shelljs.shell.cp ()
    6. function shelljs.shell.dirs ()
    7. function shelljs.shell.echo ()
    8. function shelljs.shell.error ()
    9. function shelljs.shell.exec ()
    10. function shelljs.shell.exit ()
    11. function shelljs.shell.find ()
    12. function shelljs.shell.grep ()
    13. function shelljs.shell.head ()
    14. function shelljs.shell.ln ()
    15. function shelljs.shell.ls ()
    16. function shelljs.shell.mkdir ()
    17. function shelljs.shell.mv ()
    18. function shelljs.shell.popd ()
    19. function shelljs.shell.pushd ()
    20. function shelljs.shell.pwd ()
    21. function shelljs.shell.rm ()
    22. function shelljs.shell.sed ()
    23. function shelljs.shell.set ()
    24. function shelljs.shell.sort ()
    25. function shelljs.shell.tail ()
    26. function shelljs.shell.tempdir ()
    27. function shelljs.shell.test ()
    28. function shelljs.shell.touch ()
    29. function shelljs.shell.uniq ()
    30. function shelljs.shell.which ()
    31. object shelljs.shell.config

module shelljs

function shelljs.ShellString (stdout, stderr, code)

function shelljs.cat ()

function shelljs.cd ()

function shelljs.chmod ()

function shelljs.cp ()

function shelljs.dirs ()

function shelljs.echo ()

function shelljs.error ()

function shelljs.exec ()

function shelljs.exit ()

function shelljs.find ()

function shelljs.grep ()

function shelljs.head ()

function shelljs.ln ()

function shelljs.ls ()

function shelljs.mkdir ()

function shelljs.mv ()

function shelljs.popd ()

function shelljs.pushd ()

function shelljs.pwd ()

function shelljs.rm ()

function shelljs.sed ()

function shelljs.set ()

function shelljs.sort ()

function shelljs.tail ()

function shelljs.tempdir ()

function shelljs.test ()

function shelljs.touch ()

function shelljs.uniq ()

function shelljs.which ()

module shelljs.common

function shelljs.common.ShellString (stdout, stderr, code)

function shelljs.common.convertErrorOutput (msg)

function shelljs.common.error (msg, _code, options)

function shelljs.common.expand (list)

function shelljs.common.extend ()

function shelljs.common.getUserHome ()

function shelljs.common.isObject (a)

function shelljs.common.log ()

function shelljs.common.parseOptions (opt, map, errorOptions)

function shelljs.common.randomFileName ()

function shelljs.common.readFromPipe ()

function shelljs.common.register (name, implementation, wrapOptions)

function shelljs.common.unlinkSync (file)

function shelljs.common.wrap (cmd, fn, options)

module shelljs.config

function shelljs.config.reset ()

function shelljs.config.resetForTesting ()

module shelljs.dirs

function shelljs.dirs (options, index)

function shelljs.dirs.popd (options, index)

function shelljs.dirs.pushd (options, dir)

module shelljs.plugin

function shelljs.plugin.error (msg, _code, options)

function shelljs.plugin.parseOptions (opt, map, errorOptions)

function shelljs.plugin.readFromPipe ()

function shelljs.plugin.register (name, implementation, wrapOptions)

module shelljs.shell

function shelljs.shell.ShellString (stdout, stderr, code)

function shelljs.shell.cat ()

function shelljs.shell.cd ()

function shelljs.shell.chmod ()

function shelljs.shell.cp ()

function shelljs.shell.dirs ()

function shelljs.shell.echo ()

function shelljs.shell.error ()

function shelljs.shell.exec ()

function shelljs.shell.exit ()

function shelljs.shell.find ()

function shelljs.shell.grep ()

function shelljs.shell.head ()

function shelljs.shell.ln ()

function shelljs.shell.ls ()

function shelljs.shell.mkdir ()

function shelljs.shell.mv ()

function shelljs.shell.popd ()

function shelljs.shell.pushd ()

function shelljs.shell.pwd ()

function shelljs.shell.rm ()

function shelljs.shell.sed ()

function shelljs.shell.set ()

function shelljs.shell.sort ()

function shelljs.shell.tail ()

function shelljs.shell.tempdir ()

function shelljs.shell.test ()

function shelljs.shell.touch ()

function shelljs.shell.uniq ()

function shelljs.shell.which ()

[ this document was created with utility2 ]