oclif 4.7.4 → 4.7.6
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/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oclif",
|
|
3
3
|
"description": "oclif: create your own CLI",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.6",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"oclif": "bin/run.js"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@inquirer/confirm": "^3.0.0",
|
|
14
14
|
"@inquirer/input": "^2.1.1",
|
|
15
15
|
"@inquirer/select": "^2.2.1",
|
|
16
|
-
"@oclif/core": "^3.
|
|
16
|
+
"@oclif/core": "^3.26.0",
|
|
17
17
|
"@oclif/plugin-help": "^6.0.18",
|
|
18
18
|
"@oclif/plugin-not-found": "^3.0.14",
|
|
19
19
|
"@oclif/plugin-warn-if-update-available": "^3.0.14",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@commitlint/config-conventional": "^18",
|
|
37
|
-
"@oclif/plugin-legacy": "^2.0.
|
|
37
|
+
"@oclif/plugin-legacy": "^2.0.8",
|
|
38
38
|
"@oclif/prettier-config": "^0.2.1",
|
|
39
39
|
"@oclif/test": "^3.2.5",
|
|
40
40
|
"@types/async-retry": "^1.4.5",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {Args, Command, Flags} from '@oclif/core'
|
|
2
2
|
|
|
3
3
|
export default class <%- className %> extends Command {
|
|
4
|
-
static args = {
|
|
4
|
+
static override args = {
|
|
5
5
|
file: Args.string({description: 'file to read'}),
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
static description = 'describe the command here'
|
|
8
|
+
static override description = 'describe the command here'
|
|
9
9
|
|
|
10
|
-
static examples = [
|
|
10
|
+
static override examples = [
|
|
11
11
|
'<%%= config.bin %> <%%= command.id %>',
|
|
12
12
|
]
|
|
13
13
|
|
|
14
|
-
static flags = {
|
|
14
|
+
static override flags = {
|
|
15
15
|
// flag with no value (-f, --force)
|
|
16
16
|
force: Flags.boolean({char: 'f'}),
|
|
17
17
|
// flag with a value (-n, --name=VALUE)
|