Skip to content

Commit 17534e1

Browse files
committed
Add support for printing the project namespace
1 parent 3f40a04 commit 17534e1

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

bin/cli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ if ( cmd === 'help' ) {
124124
cmd === 'datasets' ||
125125
cmd === 'ls' ||
126126
cmd === 'ls-tree' ||
127+
cmd === 'ns' ||
127128
cmd === 'repl'
128129
) {
129130
cmd = commands[ cmd ];

bin/commands.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"datasets": "./lib/node_modules/@stdlib/datasets/bin/cli",
33
"ls": "./tools/pkgs/names/bin/cli",
44
"ls-tree": "./tools/pkgs/tree/bin/cli",
5+
"ns": "./lib/node_modules/@stdlib/namespace/bin/cli",
56
"repl": "./lib/node_modules/@stdlib/repl/bin/cli"
67
}

bin/usage.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Commands:
1010
help [command] Print a help message.
1111
datasets Retrieve a dataset.
1212
ls List package names.
13-
tree Show package tree.
13+
ls-tree Show package tree.
14+
ns Print namespace.
1415
repl Start a REPL.
1516

0 commit comments

Comments
 (0)