@goldstack/utils-cli
Advanced tools
+3
-4
| { | ||
| "name": "@goldstack/utils-cli", | ||
| "version": "0.3.28", | ||
| "version": "0.3.29", | ||
| "description": "Utilities for building command line interfaces.", | ||
@@ -32,5 +32,5 @@ "keywords": [ | ||
| "prepublishOnly": "yarn run build", | ||
| "publish": "utils-git changed --exec \"yarn npm publish $@\"", | ||
| "publish": "yarn npm publish --tolerate-republish", | ||
| "test": "jest --passWithNoTests --config=./jest.config.js --runInBand", | ||
| "version:apply": "utils-git changed --exec \"yarn version $@ && yarn version apply\"", | ||
| "version:apply": "yarn version $@ && yarn version apply", | ||
| "version:apply:force": "yarn version $@ && yarn version apply" | ||
@@ -43,3 +43,2 @@ }, | ||
| "devDependencies": { | ||
| "@goldstack/utils-git": "0.2.23", | ||
| "@swc/core": "^1.15.8", | ||
@@ -46,0 +45,0 @@ "@swc/jest": "^0.2.39", |
+21
-1
@@ -0,1 +1,3 @@ | ||
| [](https://badge.fury.io/js/%40goldstack%2Futils-cli) | ||
| # Goldstack CLI Utils | ||
@@ -5,2 +7,20 @@ | ||
| See [Source Code](https://github.com/goldstack/goldstack/blob/master/workspaces/templates-lib/packages/utils-cli/src/utilsCli.ts). | ||
| This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️ | ||
| ## Installation | ||
| ```bash | ||
| npm install @goldstack/utils-cli | ||
| ``` | ||
| ## Usage | ||
| ```typescript | ||
| import { runCli } from '@goldstack/utils-cli'; | ||
| runCli(async () => { | ||
| // Your CLI logic here | ||
| }); | ||
| ``` | ||
| See [Source Code](https://github.com/goldstack/goldstack/blob/master/workspaces/utils/packages/utils-cli/src/utilsCli.ts). | ||
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
9810
4.05%7
-12.5%26
333.33%