installcommand
command
Install a dependency, check existing dependencies, or fix dependency issues.
Anchor to argumentsArguments
- Anchor to dependencydependencystring
The dependency to install (e.g., react@^18.0.0).
cliinstallArgs
- dependency
The dependency to install (e.g., react@^18.0.0).
string
export interface cliinstallArgs {
/**
* The dependency to install (e.g., react@^18.0.0).
*/
dependency?: string
}
Was this section helpful?
Anchor to optionsOptions
- Anchor to --check--checkboolean
Check that installed dependencies are valid.
- Anchor to --fix--fixboolean
Fix dependency issues by adding, updating, or removing dependencies.
- Anchor to --json--jsonboolean
Output dependency check results as JSON (only with --check).
cliinstallOptions
- --check
Check that installed dependencies are valid.
boolean
- --fix
Fix dependency issues by adding, updating, or removing dependencies.
boolean
- --json
Output dependency check results as JSON (only with --check).
boolean
export interface cliinstallOptions {
/**
* Check that installed dependencies are valid.
*/
'--check'?: boolean
/**
* Fix dependency issues by adding, updating, or removing dependencies.
*/
'--fix'?: boolean
/**
* Output dependency check results as JSON (only with --check).
*/
'--json'?: boolean
}
Was this section helpful?
Usage
npx shop-minis install [options] [dependency]
examples
Usage
npx shop-minis install [options] [dependency]