Skip to content

Commit 643d758

Browse files
committed
Update command names
1 parent a291e4a commit 643d758

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

bin/cli_commands.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@
6060
"group": "System"
6161
},
6262
{
63-
"cmd": "left-pad",
63+
"cmd": "lpad",
6464
"desc": "Left pad a string.",
6565
"path": "./lib/node_modules/@stdlib/string/left-pad/bin/cli",
6666
"group": "Utils"
6767
},
6868
{
69-
"cmd": "left-trim",
69+
"cmd": "ltrim",
7070
"desc": "Left trim a string.",
7171
"path": "./lib/node_modules/@stdlib/string/left-trim/bin/cli",
7272
"group": "Utils"
@@ -108,7 +108,7 @@
108108
"group": "System"
109109
},
110110
{
111-
"cmd": "pad",
111+
"cmd": "padstr",
112112
"desc": "Pad a string.",
113113
"path": "./lib/node_modules/@stdlib/string/pad/bin/cli",
114114
"group": "Utils"
@@ -156,7 +156,7 @@
156156
"group": "Utils"
157157
},
158158
{
159-
"cmd": "repeat",
159+
"cmd": "repstr",
160160
"desc": "Repeat a string.",
161161
"path": "./lib/node_modules/@stdlib/string/repeat/bin/cli",
162162
"group": "Utils"
@@ -180,13 +180,13 @@
180180
"group": "Utils"
181181
},
182182
{
183-
"cmd": "right-pad",
183+
"cmd": "rpad",
184184
"desc": "Right pad a string.",
185185
"path": "./lib/node_modules/@stdlib/string/right-pad/bin/cli",
186186
"group": "Utils"
187187
},
188188
{
189-
"cmd": "right-trim",
189+
"cmd": "rtrim",
190190
"desc": "Right trim a string.",
191191
"path": "./lib/node_modules/@stdlib/string/right-trim/bin/cli",
192192
"group": "Utils"

bin/usage.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@ Commands:
1818
ends-with Test if a string ends with another string.
1919
from-code-point Create a string from a sequence of code points.
2020
homedir Home directory path.
21-
left-pad Left pad a string.
22-
left-trim Left trim a string.
21+
lpad Left pad a string.
22+
ltrim Left trim a string.
2323
lowercase Lowercase a string.
2424
ls List stdlib package names.
2525
ls-tree Show stdlib package tree.
2626
node-version Node.js version.
2727
ns Print stdlib namespace.
2828
num-cpus Number of CPUs.
29-
pad Pad a string.
29+
padstr Pad a string.
3030
percent-encode Percent-encode a UTF-16 encoded string.
3131
platform Platform.
3232
remove-first Remove the first character in a string.
3333
remove-last Remove the last character in a string.
3434
remove-punctuation Remove punctuation characters from a string.
3535
remove-utf8-bom Remove a UTF-8 byte order mark (BOM).
3636
remove-words Remove a list of words from a string.
37-
repeat Repeat a string.
37+
repstr Repeat a string.
3838
repl Start a REPL.
3939
replace Replace search occurrences in a string.
4040
reverse Reverse a string.
41-
right-pad Right pad a string.
42-
right-trim Right trim a string.
41+
rpad Right pad a string.
42+
rtrim Right trim a string.
4343
sparkline Plot a sparkline.
4444
startcase Capitalize each word in a string.
4545
starts-with Test if a string starts with another string.

0 commit comments

Comments
 (0)