tertier 0.0.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/README.md +397 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +5 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/dist/commands/hello/index.d.ts +12 -0
- package/dist/commands/hello/index.js +19 -0
- package/dist/commands/hello/world.d.ts +8 -0
- package/dist/commands/hello/world.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/oclif.manifest.json +69 -0
- package/package.json +94 -0
package/README.md
ADDED
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
tertier
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
The command line interface of Tertier, your favorite Doguhorse companion for a simple Dogumentation experience.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
[](https://oclif.io)
|
|
8
|
+
[](https://npmjs.org/package/tertier)
|
|
9
|
+
[](https://npmjs.org/package/tertier)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<!-- toc -->
|
|
13
|
+
* [Usage](#usage)
|
|
14
|
+
* [Commands](#commands)
|
|
15
|
+
<!-- tocstop -->
|
|
16
|
+
# Usage
|
|
17
|
+
<!-- usage -->
|
|
18
|
+
```sh-session
|
|
19
|
+
$ npm install -g tertier
|
|
20
|
+
$ tertier COMMAND
|
|
21
|
+
running command...
|
|
22
|
+
$ tertier (--version)
|
|
23
|
+
tertier/0.0.0 darwin-arm64 node-v24.13.0
|
|
24
|
+
$ tertier --help [COMMAND]
|
|
25
|
+
USAGE
|
|
26
|
+
$ tertier COMMAND
|
|
27
|
+
...
|
|
28
|
+
```
|
|
29
|
+
<!-- usagestop -->
|
|
30
|
+
# Commands
|
|
31
|
+
<!-- commands -->
|
|
32
|
+
* [`tertier hello PERSON`](#tertier-hello-person)
|
|
33
|
+
* [`tertier hello world`](#tertier-hello-world)
|
|
34
|
+
* [`tertier help [COMMAND]`](#tertier-help-command)
|
|
35
|
+
* [`tertier plugins`](#tertier-plugins)
|
|
36
|
+
* [`tertier plugins add PLUGIN`](#tertier-plugins-add-plugin)
|
|
37
|
+
* [`tertier plugins:inspect PLUGIN...`](#tertier-pluginsinspect-plugin)
|
|
38
|
+
* [`tertier plugins install PLUGIN`](#tertier-plugins-install-plugin)
|
|
39
|
+
* [`tertier plugins link PATH`](#tertier-plugins-link-path)
|
|
40
|
+
* [`tertier plugins remove [PLUGIN]`](#tertier-plugins-remove-plugin)
|
|
41
|
+
* [`tertier plugins reset`](#tertier-plugins-reset)
|
|
42
|
+
* [`tertier plugins uninstall [PLUGIN]`](#tertier-plugins-uninstall-plugin)
|
|
43
|
+
* [`tertier plugins unlink [PLUGIN]`](#tertier-plugins-unlink-plugin)
|
|
44
|
+
* [`tertier plugins update`](#tertier-plugins-update)
|
|
45
|
+
|
|
46
|
+
## `tertier hello PERSON`
|
|
47
|
+
|
|
48
|
+
Say hello
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
USAGE
|
|
52
|
+
$ tertier hello PERSON -f <value>
|
|
53
|
+
|
|
54
|
+
ARGUMENTS
|
|
55
|
+
PERSON Person to say hello to
|
|
56
|
+
|
|
57
|
+
FLAGS
|
|
58
|
+
-f, --from=<value> (required) Who is saying hello
|
|
59
|
+
|
|
60
|
+
DESCRIPTION
|
|
61
|
+
Say hello
|
|
62
|
+
|
|
63
|
+
EXAMPLES
|
|
64
|
+
$ tertier hello friend --from oclif
|
|
65
|
+
hello friend from oclif! (./src/commands/hello/index.ts)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
_See code: [src/commands/hello/index.ts](https://github.com/Tertier/cli/blob/v0.0.0/src/commands/hello/index.ts)_
|
|
69
|
+
|
|
70
|
+
## `tertier hello world`
|
|
71
|
+
|
|
72
|
+
Say hello world
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
USAGE
|
|
76
|
+
$ tertier hello world
|
|
77
|
+
|
|
78
|
+
DESCRIPTION
|
|
79
|
+
Say hello world
|
|
80
|
+
|
|
81
|
+
EXAMPLES
|
|
82
|
+
$ tertier hello world
|
|
83
|
+
hello world! (./src/commands/hello/world.ts)
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
_See code: [src/commands/hello/world.ts](https://github.com/Tertier/cli/blob/v0.0.0/src/commands/hello/world.ts)_
|
|
87
|
+
|
|
88
|
+
## `tertier help [COMMAND]`
|
|
89
|
+
|
|
90
|
+
Display help for tertier.
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
USAGE
|
|
94
|
+
$ tertier help [COMMAND...] [-n]
|
|
95
|
+
|
|
96
|
+
ARGUMENTS
|
|
97
|
+
[COMMAND...] Command to show help for.
|
|
98
|
+
|
|
99
|
+
FLAGS
|
|
100
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
101
|
+
|
|
102
|
+
DESCRIPTION
|
|
103
|
+
Display help for tertier.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_
|
|
107
|
+
|
|
108
|
+
## `tertier plugins`
|
|
109
|
+
|
|
110
|
+
List installed plugins.
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
USAGE
|
|
114
|
+
$ tertier plugins [--json] [--core]
|
|
115
|
+
|
|
116
|
+
FLAGS
|
|
117
|
+
--core Show core plugins.
|
|
118
|
+
|
|
119
|
+
GLOBAL FLAGS
|
|
120
|
+
--json Format output as json.
|
|
121
|
+
|
|
122
|
+
DESCRIPTION
|
|
123
|
+
List installed plugins.
|
|
124
|
+
|
|
125
|
+
EXAMPLES
|
|
126
|
+
$ tertier plugins
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/index.ts)_
|
|
130
|
+
|
|
131
|
+
## `tertier plugins add PLUGIN`
|
|
132
|
+
|
|
133
|
+
Installs a plugin into tertier.
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
USAGE
|
|
137
|
+
$ tertier plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
138
|
+
|
|
139
|
+
ARGUMENTS
|
|
140
|
+
PLUGIN... Plugin to install.
|
|
141
|
+
|
|
142
|
+
FLAGS
|
|
143
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
144
|
+
-h, --help Show CLI help.
|
|
145
|
+
-s, --silent Silences npm output.
|
|
146
|
+
-v, --verbose Show verbose npm output.
|
|
147
|
+
|
|
148
|
+
GLOBAL FLAGS
|
|
149
|
+
--json Format output as json.
|
|
150
|
+
|
|
151
|
+
DESCRIPTION
|
|
152
|
+
Installs a plugin into tertier.
|
|
153
|
+
|
|
154
|
+
Uses npm to install plugins.
|
|
155
|
+
|
|
156
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
157
|
+
|
|
158
|
+
Use the TERTIER_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
159
|
+
Use the TERTIER_NPM_REGISTRY environment variable to set the npm registry.
|
|
160
|
+
|
|
161
|
+
ALIASES
|
|
162
|
+
$ tertier plugins add
|
|
163
|
+
|
|
164
|
+
EXAMPLES
|
|
165
|
+
Install a plugin from npm registry.
|
|
166
|
+
|
|
167
|
+
$ tertier plugins add myplugin
|
|
168
|
+
|
|
169
|
+
Install a plugin from a github url.
|
|
170
|
+
|
|
171
|
+
$ tertier plugins add https://github.com/someuser/someplugin
|
|
172
|
+
|
|
173
|
+
Install a plugin from a github slug.
|
|
174
|
+
|
|
175
|
+
$ tertier plugins add someuser/someplugin
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## `tertier plugins:inspect PLUGIN...`
|
|
179
|
+
|
|
180
|
+
Displays installation properties of a plugin.
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
USAGE
|
|
184
|
+
$ tertier plugins inspect PLUGIN...
|
|
185
|
+
|
|
186
|
+
ARGUMENTS
|
|
187
|
+
PLUGIN... [default: .] Plugin to inspect.
|
|
188
|
+
|
|
189
|
+
FLAGS
|
|
190
|
+
-h, --help Show CLI help.
|
|
191
|
+
-v, --verbose
|
|
192
|
+
|
|
193
|
+
GLOBAL FLAGS
|
|
194
|
+
--json Format output as json.
|
|
195
|
+
|
|
196
|
+
DESCRIPTION
|
|
197
|
+
Displays installation properties of a plugin.
|
|
198
|
+
|
|
199
|
+
EXAMPLES
|
|
200
|
+
$ tertier plugins inspect myplugin
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/inspect.ts)_
|
|
204
|
+
|
|
205
|
+
## `tertier plugins install PLUGIN`
|
|
206
|
+
|
|
207
|
+
Installs a plugin into tertier.
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
USAGE
|
|
211
|
+
$ tertier plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
212
|
+
|
|
213
|
+
ARGUMENTS
|
|
214
|
+
PLUGIN... Plugin to install.
|
|
215
|
+
|
|
216
|
+
FLAGS
|
|
217
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
218
|
+
-h, --help Show CLI help.
|
|
219
|
+
-s, --silent Silences npm output.
|
|
220
|
+
-v, --verbose Show verbose npm output.
|
|
221
|
+
|
|
222
|
+
GLOBAL FLAGS
|
|
223
|
+
--json Format output as json.
|
|
224
|
+
|
|
225
|
+
DESCRIPTION
|
|
226
|
+
Installs a plugin into tertier.
|
|
227
|
+
|
|
228
|
+
Uses npm to install plugins.
|
|
229
|
+
|
|
230
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
231
|
+
|
|
232
|
+
Use the TERTIER_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
233
|
+
Use the TERTIER_NPM_REGISTRY environment variable to set the npm registry.
|
|
234
|
+
|
|
235
|
+
ALIASES
|
|
236
|
+
$ tertier plugins add
|
|
237
|
+
|
|
238
|
+
EXAMPLES
|
|
239
|
+
Install a plugin from npm registry.
|
|
240
|
+
|
|
241
|
+
$ tertier plugins install myplugin
|
|
242
|
+
|
|
243
|
+
Install a plugin from a github url.
|
|
244
|
+
|
|
245
|
+
$ tertier plugins install https://github.com/someuser/someplugin
|
|
246
|
+
|
|
247
|
+
Install a plugin from a github slug.
|
|
248
|
+
|
|
249
|
+
$ tertier plugins install someuser/someplugin
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/install.ts)_
|
|
253
|
+
|
|
254
|
+
## `tertier plugins link PATH`
|
|
255
|
+
|
|
256
|
+
Links a plugin into the CLI for development.
|
|
257
|
+
|
|
258
|
+
```
|
|
259
|
+
USAGE
|
|
260
|
+
$ tertier plugins link PATH [-h] [--install] [-v]
|
|
261
|
+
|
|
262
|
+
ARGUMENTS
|
|
263
|
+
PATH [default: .] path to plugin
|
|
264
|
+
|
|
265
|
+
FLAGS
|
|
266
|
+
-h, --help Show CLI help.
|
|
267
|
+
-v, --verbose
|
|
268
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
269
|
+
|
|
270
|
+
DESCRIPTION
|
|
271
|
+
Links a plugin into the CLI for development.
|
|
272
|
+
|
|
273
|
+
Installation of a linked plugin will override a user-installed or core plugin.
|
|
274
|
+
|
|
275
|
+
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
276
|
+
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
EXAMPLES
|
|
280
|
+
$ tertier plugins link myplugin
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/link.ts)_
|
|
284
|
+
|
|
285
|
+
## `tertier plugins remove [PLUGIN]`
|
|
286
|
+
|
|
287
|
+
Removes a plugin from the CLI.
|
|
288
|
+
|
|
289
|
+
```
|
|
290
|
+
USAGE
|
|
291
|
+
$ tertier plugins remove [PLUGIN...] [-h] [-v]
|
|
292
|
+
|
|
293
|
+
ARGUMENTS
|
|
294
|
+
[PLUGIN...] plugin to uninstall
|
|
295
|
+
|
|
296
|
+
FLAGS
|
|
297
|
+
-h, --help Show CLI help.
|
|
298
|
+
-v, --verbose
|
|
299
|
+
|
|
300
|
+
DESCRIPTION
|
|
301
|
+
Removes a plugin from the CLI.
|
|
302
|
+
|
|
303
|
+
ALIASES
|
|
304
|
+
$ tertier plugins unlink
|
|
305
|
+
$ tertier plugins remove
|
|
306
|
+
|
|
307
|
+
EXAMPLES
|
|
308
|
+
$ tertier plugins remove myplugin
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
## `tertier plugins reset`
|
|
312
|
+
|
|
313
|
+
Remove all user-installed and linked plugins.
|
|
314
|
+
|
|
315
|
+
```
|
|
316
|
+
USAGE
|
|
317
|
+
$ tertier plugins reset [--hard] [--reinstall]
|
|
318
|
+
|
|
319
|
+
FLAGS
|
|
320
|
+
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
|
|
321
|
+
--reinstall Reinstall all plugins after uninstalling.
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/reset.ts)_
|
|
325
|
+
|
|
326
|
+
## `tertier plugins uninstall [PLUGIN]`
|
|
327
|
+
|
|
328
|
+
Removes a plugin from the CLI.
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
USAGE
|
|
332
|
+
$ tertier plugins uninstall [PLUGIN...] [-h] [-v]
|
|
333
|
+
|
|
334
|
+
ARGUMENTS
|
|
335
|
+
[PLUGIN...] plugin to uninstall
|
|
336
|
+
|
|
337
|
+
FLAGS
|
|
338
|
+
-h, --help Show CLI help.
|
|
339
|
+
-v, --verbose
|
|
340
|
+
|
|
341
|
+
DESCRIPTION
|
|
342
|
+
Removes a plugin from the CLI.
|
|
343
|
+
|
|
344
|
+
ALIASES
|
|
345
|
+
$ tertier plugins unlink
|
|
346
|
+
$ tertier plugins remove
|
|
347
|
+
|
|
348
|
+
EXAMPLES
|
|
349
|
+
$ tertier plugins uninstall myplugin
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/uninstall.ts)_
|
|
353
|
+
|
|
354
|
+
## `tertier plugins unlink [PLUGIN]`
|
|
355
|
+
|
|
356
|
+
Removes a plugin from the CLI.
|
|
357
|
+
|
|
358
|
+
```
|
|
359
|
+
USAGE
|
|
360
|
+
$ tertier plugins unlink [PLUGIN...] [-h] [-v]
|
|
361
|
+
|
|
362
|
+
ARGUMENTS
|
|
363
|
+
[PLUGIN...] plugin to uninstall
|
|
364
|
+
|
|
365
|
+
FLAGS
|
|
366
|
+
-h, --help Show CLI help.
|
|
367
|
+
-v, --verbose
|
|
368
|
+
|
|
369
|
+
DESCRIPTION
|
|
370
|
+
Removes a plugin from the CLI.
|
|
371
|
+
|
|
372
|
+
ALIASES
|
|
373
|
+
$ tertier plugins unlink
|
|
374
|
+
$ tertier plugins remove
|
|
375
|
+
|
|
376
|
+
EXAMPLES
|
|
377
|
+
$ tertier plugins unlink myplugin
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
## `tertier plugins update`
|
|
381
|
+
|
|
382
|
+
Update installed plugins.
|
|
383
|
+
|
|
384
|
+
```
|
|
385
|
+
USAGE
|
|
386
|
+
$ tertier plugins update [-h] [-v]
|
|
387
|
+
|
|
388
|
+
FLAGS
|
|
389
|
+
-h, --help Show CLI help.
|
|
390
|
+
-v, --verbose
|
|
391
|
+
|
|
392
|
+
DESCRIPTION
|
|
393
|
+
Update installed plugins.
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/update.ts)_
|
|
397
|
+
<!-- commandsstop -->
|
package/bin/dev.cmd
ADDED
package/bin/dev.js
ADDED
package/bin/run.cmd
ADDED
package/bin/run.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Command } from '@oclif/core';
|
|
2
|
+
export default class Hello extends Command {
|
|
3
|
+
static args: {
|
|
4
|
+
person: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
5
|
+
};
|
|
6
|
+
static description: string;
|
|
7
|
+
static examples: string[];
|
|
8
|
+
static flags: {
|
|
9
|
+
from: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
};
|
|
11
|
+
run(): Promise<void>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Args, Command, Flags } from '@oclif/core';
|
|
2
|
+
export default class Hello extends Command {
|
|
3
|
+
static args = {
|
|
4
|
+
person: Args.string({ description: 'Person to say hello to', required: true }),
|
|
5
|
+
};
|
|
6
|
+
static description = 'Say hello';
|
|
7
|
+
static examples = [
|
|
8
|
+
`<%= config.bin %> <%= command.id %> friend --from oclif
|
|
9
|
+
hello friend from oclif! (./src/commands/hello/index.ts)
|
|
10
|
+
`,
|
|
11
|
+
];
|
|
12
|
+
static flags = {
|
|
13
|
+
from: Flags.string({ char: 'f', description: 'Who is saying hello', required: true }),
|
|
14
|
+
};
|
|
15
|
+
async run() {
|
|
16
|
+
const { args, flags } = await this.parse(Hello);
|
|
17
|
+
this.log(`hello ${args.person} from ${flags.from}! (./src/commands/hello/index.ts)`);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Command } from '@oclif/core';
|
|
2
|
+
export default class World extends Command {
|
|
3
|
+
static args = {};
|
|
4
|
+
static description = 'Say hello world';
|
|
5
|
+
static examples = [
|
|
6
|
+
`<%= config.bin %> <%= command.id %>
|
|
7
|
+
hello world! (./src/commands/hello/world.ts)
|
|
8
|
+
`,
|
|
9
|
+
];
|
|
10
|
+
static flags = {};
|
|
11
|
+
async run() {
|
|
12
|
+
this.log('hello world! (./src/commands/hello/world.ts)');
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { run } from '@oclif/core';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { run } from '@oclif/core';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"hello": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"person": {
|
|
7
|
+
"description": "Person to say hello to",
|
|
8
|
+
"name": "person",
|
|
9
|
+
"required": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "Say hello",
|
|
13
|
+
"examples": [
|
|
14
|
+
"<%= config.bin %> <%= command.id %> friend --from oclif\nhello friend from oclif! (./src/commands/hello/index.ts)\n"
|
|
15
|
+
],
|
|
16
|
+
"flags": {
|
|
17
|
+
"from": {
|
|
18
|
+
"char": "f",
|
|
19
|
+
"description": "Who is saying hello",
|
|
20
|
+
"name": "from",
|
|
21
|
+
"required": true,
|
|
22
|
+
"hasDynamicHelp": false,
|
|
23
|
+
"multiple": false,
|
|
24
|
+
"type": "option"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"hasDynamicHelp": false,
|
|
28
|
+
"hiddenAliases": [],
|
|
29
|
+
"id": "hello",
|
|
30
|
+
"pluginAlias": "tertier",
|
|
31
|
+
"pluginName": "tertier",
|
|
32
|
+
"pluginType": "core",
|
|
33
|
+
"strict": true,
|
|
34
|
+
"enableJsonFlag": false,
|
|
35
|
+
"isESM": true,
|
|
36
|
+
"relativePath": [
|
|
37
|
+
"dist",
|
|
38
|
+
"commands",
|
|
39
|
+
"hello",
|
|
40
|
+
"index.js"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"hello:world": {
|
|
44
|
+
"aliases": [],
|
|
45
|
+
"args": {},
|
|
46
|
+
"description": "Say hello world",
|
|
47
|
+
"examples": [
|
|
48
|
+
"<%= config.bin %> <%= command.id %>\nhello world! (./src/commands/hello/world.ts)\n"
|
|
49
|
+
],
|
|
50
|
+
"flags": {},
|
|
51
|
+
"hasDynamicHelp": false,
|
|
52
|
+
"hiddenAliases": [],
|
|
53
|
+
"id": "hello:world",
|
|
54
|
+
"pluginAlias": "tertier",
|
|
55
|
+
"pluginName": "tertier",
|
|
56
|
+
"pluginType": "core",
|
|
57
|
+
"strict": true,
|
|
58
|
+
"enableJsonFlag": false,
|
|
59
|
+
"isESM": true,
|
|
60
|
+
"relativePath": [
|
|
61
|
+
"dist",
|
|
62
|
+
"commands",
|
|
63
|
+
"hello",
|
|
64
|
+
"world.js"
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"version": "0.0.0"
|
|
69
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tertier",
|
|
3
|
+
"private": false,
|
|
4
|
+
"description": "The command line interface of Tertier, your favorite Doguhorse companion for a simple Dogumentation experience.",
|
|
5
|
+
"version": "0.0.0",
|
|
6
|
+
"author": { "name": "Adam Rocska", "url": "https://github.com/adam-rocska" },
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"homepage": "https://github.com/Tertier/cli",
|
|
10
|
+
"repository": { "type": "git", "url": "https://github.com/Tertier/cli.git" },
|
|
11
|
+
"bugs": { "url": "https://github.com/Tertier/cli/issues" },
|
|
12
|
+
"funding": [
|
|
13
|
+
{ "type": "github", "url": "https://github.com/sponsors/adam-rocska" }
|
|
14
|
+
],
|
|
15
|
+
"keywords": [
|
|
16
|
+
"cli",
|
|
17
|
+
"documentation",
|
|
18
|
+
"docs",
|
|
19
|
+
"docgen",
|
|
20
|
+
"generator",
|
|
21
|
+
"oclif",
|
|
22
|
+
"typescript",
|
|
23
|
+
"dogumentation",
|
|
24
|
+
"markdown",
|
|
25
|
+
"api-docs",
|
|
26
|
+
"static-site",
|
|
27
|
+
"developer-tools"
|
|
28
|
+
],
|
|
29
|
+
"bin": { "tertier": "./bin/run.js" },
|
|
30
|
+
"files": [
|
|
31
|
+
"bin",
|
|
32
|
+
"dist",
|
|
33
|
+
"oclif.manifest.json",
|
|
34
|
+
"README.md",
|
|
35
|
+
"LICENSE"
|
|
36
|
+
],
|
|
37
|
+
"main": "dist/index.js",
|
|
38
|
+
"types": "dist/index.d.ts",
|
|
39
|
+
"exports": {
|
|
40
|
+
".": "./dist/index.js"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=18.0.0"
|
|
44
|
+
},
|
|
45
|
+
"packageManager": "pnpm@10.28.2",
|
|
46
|
+
"publishConfig": { "access": "public" },
|
|
47
|
+
"sideEffects": false,
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@oclif/core": "^4",
|
|
50
|
+
"@oclif/plugin-help": "^6",
|
|
51
|
+
"@oclif/plugin-plugins": "^5"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@eslint/compat": "^1",
|
|
55
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
56
|
+
"@oclif/test": "^4",
|
|
57
|
+
"@types/chai": "^4",
|
|
58
|
+
"@types/mocha": "^10",
|
|
59
|
+
"@types/node": "^18",
|
|
60
|
+
"chai": "^4",
|
|
61
|
+
"eslint": "^9",
|
|
62
|
+
"eslint-config-oclif": "^6",
|
|
63
|
+
"eslint-config-prettier": "^10",
|
|
64
|
+
"mocha": "^10",
|
|
65
|
+
"oclif": "^4",
|
|
66
|
+
"shx": "^0.3.3",
|
|
67
|
+
"ts-node": "^10",
|
|
68
|
+
"typescript": "^5"
|
|
69
|
+
},
|
|
70
|
+
"oclif": {
|
|
71
|
+
"bin": "tertier",
|
|
72
|
+
"dirname": "tertier",
|
|
73
|
+
"commands": "./dist/commands",
|
|
74
|
+
"plugins": [
|
|
75
|
+
"@oclif/plugin-help",
|
|
76
|
+
"@oclif/plugin-plugins"
|
|
77
|
+
],
|
|
78
|
+
"topicSeparator": " ",
|
|
79
|
+
"topics": {
|
|
80
|
+
"hello": {
|
|
81
|
+
"description": "Say hello to the world and others"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
87
|
+
"lint": "eslint",
|
|
88
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
89
|
+
"posttest": "pnpm run lint",
|
|
90
|
+
"prepack": "oclif manifest && oclif readme",
|
|
91
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
92
|
+
"version": "oclif readme && git add README.md"
|
|
93
|
+
}
|
|
94
|
+
}
|