feat: colorize CLI help output #139
Annotations
4 errors
|
test (ubuntu-latest)
Process completed with exit code 1.
|
|
test/cli/staged/index.test.ts > should display the staged help message:
packages/rstack/test/cli/staged/index.test.ts#L69
expected 'Rstack v0.0.3\n\n\u001b[36mUsage\u001…' to contain 'Usage%3A\n $ rs staged [options]'
- Expected
+ Received
- Usage%3A
- $ rs staged [options]
+ Rstack v0.0.3
+
+ Usage%3A
+ $ rs staged [options]
+
+ Runs lint-staged with tasks from define.staged in rstack.config.
+
+ Options%3A
+ --allow-empty Allow empty commits when tasks revert all staged changes
+ -p%2C --concurrent <number|boolean> The number of tasks to run concurrently%2C or false for serial
+ --cwd <path> Working directory to run all tasks in
+ -d%2C --debug Print additional debug information
+ --no-stash Disable the backup stash. Implies "--no-revert".
+ -q%2C --quiet Disable lint-staged's own console output
+ -r%2C --relative Pass relative filepaths to tasks
+ -v%2C --verbose Show task output even when tasks succeed; by default only failed output is shown
+ -h%2C --help Display this help message
+
|
|
test (windows-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
|
|
test (windows-latest)
The operation was canceled.
|