@ecmaos/coreutils 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +42 -0
- package/dist/commands/cron.d.ts.map +1 -1
- package/dist/commands/cron.js +116 -23
- package/dist/commands/cron.js.map +1 -1
- package/dist/commands/env.d.ts +4 -0
- package/dist/commands/env.d.ts.map +1 -0
- package/dist/commands/env.js +129 -0
- package/dist/commands/env.js.map +1 -0
- package/dist/commands/head.d.ts.map +1 -1
- package/dist/commands/head.js +184 -77
- package/dist/commands/head.js.map +1 -1
- package/dist/commands/less.d.ts.map +1 -1
- package/dist/commands/less.js +1 -0
- package/dist/commands/less.js.map +1 -1
- package/dist/commands/man.d.ts.map +1 -1
- package/dist/commands/man.js +3 -1
- package/dist/commands/man.js.map +1 -1
- package/dist/commands/mount.d.ts +4 -0
- package/dist/commands/mount.d.ts.map +1 -0
- package/dist/commands/mount.js +1041 -0
- package/dist/commands/mount.js.map +1 -0
- package/dist/commands/umount.d.ts +4 -0
- package/dist/commands/umount.d.ts.map +1 -0
- package/dist/commands/umount.js +104 -0
- package/dist/commands/umount.js.map +1 -0
- package/dist/commands/view.d.ts +1 -0
- package/dist/commands/view.d.ts.map +1 -1
- package/dist/commands/view.js +408 -66
- package/dist/commands/view.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +10 -2
- package/src/commands/cron.ts +115 -23
- package/src/commands/env.ts +143 -0
- package/src/commands/head.ts +176 -77
- package/src/commands/less.ts +1 -0
- package/src/commands/man.ts +4 -1
- package/src/commands/mount.ts +1193 -0
- package/src/commands/umount.ts +117 -0
- package/src/commands/view.ts +463 -73
- package/src/index.ts +9 -0
package/src/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { createCommand as createChmod } from './commands/chmod.js'
|
|
|
13
13
|
import { createCommand as createCp } from './commands/cp.js'
|
|
14
14
|
import { createCommand as createCron } from './commands/cron.js'
|
|
15
15
|
import { createCommand as createEcho } from './commands/echo.js'
|
|
16
|
+
import { createCommand as createEnv } from './commands/env.js'
|
|
16
17
|
import { createCommand as createFetch } from './commands/fetch.js'
|
|
17
18
|
import { createCommand as createGrep } from './commands/grep.js'
|
|
18
19
|
import { createCommand as createHash } from './commands/hash.js'
|
|
@@ -21,6 +22,7 @@ import { createCommand as createLn } from './commands/ln.js'
|
|
|
21
22
|
import { createCommand as createLs } from './commands/ls.js'
|
|
22
23
|
import { createCommand as createMkdir } from './commands/mkdir.js'
|
|
23
24
|
import { createCommand as createMktemp } from './commands/mktemp.js'
|
|
25
|
+
import { createCommand as createMount } from './commands/mount.js'
|
|
24
26
|
import { createCommand as createMv } from './commands/mv.js'
|
|
25
27
|
import { createCommand as createNc } from './commands/nc.js'
|
|
26
28
|
import { createCommand as createOpen } from './commands/open.js'
|
|
@@ -59,6 +61,7 @@ import { createCommand as createSplit } from './commands/split.js'
|
|
|
59
61
|
import { createCommand as createTest } from './commands/test.js'
|
|
60
62
|
import { createCommand as createTr } from './commands/tr.js'
|
|
61
63
|
import { createCommand as createTrue } from './commands/true.js'
|
|
64
|
+
import { createCommand as createUmount } from './commands/umount.js'
|
|
62
65
|
import { createCommand as createUniq } from './commands/uniq.js'
|
|
63
66
|
import { createCommand as createUser } from './commands/user.js'
|
|
64
67
|
import { createCommand as createWc } from './commands/wc.js'
|
|
@@ -77,6 +80,7 @@ export { createCommand as createChmod } from './commands/chmod.js'
|
|
|
77
80
|
export { createCommand as createCp } from './commands/cp.js'
|
|
78
81
|
export { createCommand as createCron } from './commands/cron.js'
|
|
79
82
|
export { createCommand as createEcho } from './commands/echo.js'
|
|
83
|
+
export { createCommand as createEnv } from './commands/env.js'
|
|
80
84
|
export { createCommand as createFetch } from './commands/fetch.js'
|
|
81
85
|
export { createCommand as createGrep } from './commands/grep.js'
|
|
82
86
|
export { createCommand as createHash } from './commands/hash.js'
|
|
@@ -84,6 +88,7 @@ export { createCommand as createLn } from './commands/ln.js'
|
|
|
84
88
|
export { createCommand as createLs } from './commands/ls.js'
|
|
85
89
|
export { createCommand as createMkdir } from './commands/mkdir.js'
|
|
86
90
|
export { createCommand as createMktemp } from './commands/mktemp.js'
|
|
91
|
+
export { createCommand as createMount } from './commands/mount.js'
|
|
87
92
|
export { createCommand as createMv } from './commands/mv.js'
|
|
88
93
|
export { createCommand as createOpen } from './commands/open.js'
|
|
89
94
|
export { createCommand as createPlay } from './commands/play.js'
|
|
@@ -109,6 +114,7 @@ export { createCommand as createFormat } from './commands/format.js'
|
|
|
109
114
|
export { createCommand as createSort } from './commands/sort.js'
|
|
110
115
|
export { createCommand as createTest } from './commands/test.js'
|
|
111
116
|
export { createCommand as createTr } from './commands/tr.js'
|
|
117
|
+
export { createCommand as createUmount } from './commands/umount.js'
|
|
112
118
|
export { createCommand as createUniq } from './commands/uniq.js'
|
|
113
119
|
export { createCommand as createUser } from './commands/user.js'
|
|
114
120
|
export { createCommand as createWc } from './commands/wc.js'
|
|
@@ -132,6 +138,7 @@ export function createAllCommands(kernel: Kernel, shell: Shell, terminal: Termin
|
|
|
132
138
|
cp: createCp(kernel, shell, terminal),
|
|
133
139
|
cron: createCron(kernel, shell, terminal),
|
|
134
140
|
echo: createEcho(kernel, shell, terminal),
|
|
141
|
+
env: createEnv(kernel, shell, terminal),
|
|
135
142
|
fetch: createFetch(kernel, shell, terminal),
|
|
136
143
|
grep: createGrep(kernel, shell, terminal),
|
|
137
144
|
hash: createHash(kernel, shell, terminal),
|
|
@@ -140,6 +147,7 @@ export function createAllCommands(kernel: Kernel, shell: Shell, terminal: Termin
|
|
|
140
147
|
ls: createLs(kernel, shell, terminal),
|
|
141
148
|
mkdir: createMkdir(kernel, shell, terminal),
|
|
142
149
|
mktemp: createMktemp(kernel, shell, terminal),
|
|
150
|
+
mount: createMount(kernel, shell, terminal),
|
|
143
151
|
mv: createMv(kernel, shell, terminal),
|
|
144
152
|
nc: createNc(kernel, shell, terminal),
|
|
145
153
|
open: createOpen(kernel, shell, terminal),
|
|
@@ -178,6 +186,7 @@ export function createAllCommands(kernel: Kernel, shell: Shell, terminal: Termin
|
|
|
178
186
|
test: createTest(kernel, shell, terminal),
|
|
179
187
|
tr: createTr(kernel, shell, terminal),
|
|
180
188
|
true: createTrue(kernel, shell, terminal),
|
|
189
|
+
umount: createUmount(kernel, shell, terminal),
|
|
181
190
|
uniq: createUniq(kernel, shell, terminal),
|
|
182
191
|
user: createUser(kernel, shell, terminal),
|
|
183
192
|
wc: createWc(kernel, shell, terminal),
|