@corellium/corellium-cli 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +2 -2
- package/src/profile.js +1 -1
package/index.js
CHANGED
@@ -8,10 +8,10 @@ require('dotenv').config()
|
|
8
8
|
async function run () {
|
9
9
|
return yargs(hideBin(process.argv))
|
10
10
|
.command(commands)
|
11
|
-
.usage('Usage: corellium
|
11
|
+
.usage('Usage: corellium [OPTIONS]')
|
12
12
|
.demandCommand(1, '') // empty string overrides yargs nag message about specifying a command
|
13
13
|
.strict() // strict handling of commands and arguments
|
14
|
-
.epilogue("Run 'corellium
|
14
|
+
.epilogue("Run 'corellium --help' for more information on a command.")
|
15
15
|
.wrap(null) // maximize the width of yargs help information
|
16
16
|
.parse()
|
17
17
|
}
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@corellium/corellium-cli",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.8",
|
4
4
|
"description": "Corellium CLI Tool",
|
5
5
|
"scripts": {
|
6
|
-
"corellium
|
6
|
+
"corellium": "node index.js",
|
7
7
|
"lint": "eslint .",
|
8
8
|
"lint-staged": "lint-staged",
|
9
9
|
"lint:fix": "eslint --fix ."
|
package/src/profile.js
CHANGED
@@ -39,7 +39,7 @@ function readTrialConfig () {
|
|
39
39
|
|
40
40
|
function readProfile () {
|
41
41
|
if (!fs.existsSync(profilePath)) {
|
42
|
-
throw new Error(`Profile not found at ${profilePath}. Try to login with "corellium
|
42
|
+
throw new Error(`Profile not found at ${profilePath}. Try to login with "corellium login"`)
|
43
43
|
}
|
44
44
|
return JSON.parse(fs.readFileSync(profilePath))
|
45
45
|
}
|