@vtex/cli-plugin-whoami
Advanced tools
Comparing version
@@ -34,3 +34,6 @@ "use strict"; | ||
} | ||
return [`${chalk_1.default.bold('Welcome to VTEX IO')}`, `Log in by running ${vtex_1.ColorifyConstants.COMMAND_OR_VTEX_REF('vtex login')} ${vtex_1.ColorifyConstants.ID('<account-name>')}`]; | ||
return [ | ||
`${chalk_1.default.bold('Welcome to VTEX IO')}`, | ||
`Log in by running ${vtex_1.ColorifyConstants.COMMAND_OR_VTEX_REF('vtex login')} ${vtex_1.ColorifyConstants.ID('<account-name>')}`, | ||
]; | ||
}; |
@@ -9,6 +9,8 @@ # Changelog | ||
## [0.2.2-beta] - 2021-03-30 | ||
## [0.2.2-beta2] - 2021-03-30 | ||
## [0.2.1-beta] - 2021-03-30 | ||
### Fixed | ||
- Force colors on `oclif-dev manifest` | ||
## [0.2.0] - 2021-03-12 | ||
@@ -15,0 +17,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"version":"0.2.2-beta","commands":{"whoami":{"id":"whoami","description":"Prints the current \u001b[93maccount\u001b[39m, \u001b[93mworkspace\u001b[39m, environment, and login details.","pluginName":"@vtex/cli-plugin-whoami","pluginType":"core","aliases":[],"examples":["\u001b[95mvtex whoami\u001b[39m"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Show debug level logs","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"trace":{"name":"trace","type":"boolean","description":"Ensure all requests to VTEX IO are traced","allowNo":false}},"args":[]}}} | ||
{"version":"0.2.2-beta2","commands":{"whoami":{"id":"whoami","description":"Prints the current \u001b[38;5;149maccount\u001b[39m, \u001b[38;5;149mworkspace\u001b[39m, environment, and login details.","pluginName":"@vtex/cli-plugin-whoami","pluginType":"core","aliases":[],"examples":["\u001b[38;5;205mvtex whoami\u001b[39m"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Show debug level logs","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"trace":{"name":"trace","type":"boolean","description":"Ensure all requests to VTEX IO are traced","allowNo":false}},"args":[]}}} |
{ | ||
"name": "@vtex/cli-plugin-whoami", | ||
"description": "vtex plugin whoami", | ||
"version": "0.2.2-beta", | ||
"version": "0.2.2-beta2", | ||
"bugs": "https://github.com/vtex/cli-plugin-whoami/issues", | ||
@@ -56,3 +56,3 @@ "dependencies": { | ||
"build-incremental": "tsc --incremental", | ||
"build": "yarn build-clean && yarn tsc && OCLIF_COMPILATION=true yarn oclif-dev manifest", | ||
"build": "yarn build-clean && yarn tsc && OCLIF_COMPILATION=true yarn oclif-dev manifest --color=256", | ||
"ci:prettier-check": "prettier --check --config ./.prettierrc \"./src/**/*.{ts,tsx,js,jsx,json}\"", | ||
@@ -65,3 +65,3 @@ "ci:test": "yarn test --ci", | ||
"posttest": "eslint . --ext .ts --config .eslintrc", | ||
"prepack": "rm -rf build && tsc -b && oclif-dev manifest && oclif-dev readme", | ||
"prepack": "rm -rf build && tsc -b && oclif-dev manifest --color=256 && oclif-dev readme", | ||
"prepublishOnly": "bash ./scripts/publishLock.sh", | ||
@@ -72,2 +72,7 @@ "test": "jest --passWithNoTests", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
@@ -74,0 +79,0 @@ "*.{ts,js,tsx,jsx}": [ |
@@ -32,3 +32,3 @@ # VTEX CLI Plugin Whoami | ||
$ vtex (-v|--version|version) | ||
@vtex/cli-plugin-whoami/0.2.2-beta linux-x64 node-v12.21.0 | ||
@vtex/cli-plugin-whoami/0.2.2-beta2 linux-x64 node-v12.21.0 | ||
$ vtex --help [COMMAND] | ||
@@ -46,3 +46,3 @@ USAGE | ||
Prints the current [93maccount[39m, [93mworkspace[39m, environment, and login details. | ||
Prints the current [38;5;149maccount[39m, [38;5;149mworkspace[39m, environment, and login details. | ||
@@ -62,3 +62,3 @@ ``` | ||
_See code: [build/commands/whoami.ts](https://github.com/vtex/cli-plugin-whoami/blob/v0.2.2-beta/build/commands/whoami.ts)_ | ||
_See code: [build/commands/whoami.ts](https://github.com/vtex/cli-plugin-whoami/blob/v0.2.2-beta2/build/commands/whoami.ts)_ | ||
<!-- commandsstop --> |
404973
0.05%84
3.7%