Function: run()
ts
function run(argv, options?): Promise<number>;Defined in: packages/cli/src/run.ts:269
Runs the CLI. Returns the exit code instead of exiting, so it can be used programmatically.
Commands may also be written spatie-style: permission:create-role = create-role.
Parameters
| Parameter | Type |
|---|---|
argv | readonly string[] |
options? | RunOptions |
Returns
Promise<number>
