@kosko/cli-utils
Index
Variables
publicconstglobalOptions
Type declaration
readonlycwd: { default: () => string; defaultDescription: CWD; describe: Path of working directory; global: true; type: string; coerce: any }
readonlydefault: () => string
Returns string
readonlydefaultDescription: CWD
readonlydescribe: Path of working directory
readonlyglobal: true
readonlytype: string
coerce: function
Parameters
arg: string
Returns string
readonlylog-level: { default: info; describe: Set log level; global: true; type: string }
readonlydefault: info
readonlydescribe: Set log level
readonlyglobal: true
readonlytype: string
readonlysilent: { default: false; describe: Disable log output; global: true; type: boolean }
readonlydefault: false
readonlydescribe: Disable log output
readonlyglobal: true
readonlytype: boolean
The
process.cwd()
method returns the current working directory of the Node.js process.v0.1.8