Comparing version 0.3.5 to 0.4.0
@@ -80,3 +80,3 @@ #!/usr/bin/env node | ||
// Add inspect() method, if it doesn't exist | ||
if (argv.inspect) { | ||
if (!argv.noinspect) { | ||
for (var key in shell) { | ||
@@ -83,0 +83,0 @@ shell[key] = wrap(shell[key], key); |
{ | ||
"name": "n_shell", | ||
"version": "0.3.5", | ||
"version": "0.4.0", | ||
"description": "A node REPL with ShellJS loaded by default", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -110,8 +110,10 @@ # n\_shell | ||
PR](https://github.com/nfischer/n_shell/compare) | ||
- `--inspect`: an experimental switch to add a `.inspect()` method to the | ||
output of each command. The return values are still ShellStrings, but appear | ||
more readable and shell-like. Also, commands with no arguments can be | ||
invoked without parentheses, such as `shell.pwd` and `shell.ls`. Recommended | ||
for ShellJS v0.7+. Credit for the idea goes to | ||
[piranna](https://github.com/piranna). | ||
- `--noinspect`: disable the default `--inspect` behavior. This provides | ||
less-readable REPL output, but behaves just as a standard Node REPL would. | ||
- `--inspect` (default): an experimental switch to add a `.inspect()` method to | ||
the output of each command. The return values are still ShellStrings, but | ||
appear more readable and shell-like. Also, commands with no arguments can be | ||
invoked without parentheses, such as `shell.pwd` and `shell.ls`. Recommended | ||
for ShellJS v0.7+. Credit for the idea goes to | ||
[piranna](https://github.com/piranna). | ||
@@ -118,0 +120,0 @@ ## History |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7827
122