- suite.expectedOuts[Manual] = "# lstn cheatsheet\n\n## Global Flags\n\nEvery child command inherits the following flags:\n\n```\n--config string config file (default is $HOME/.lstn.yaml)\n```\n\n## `lstn completion <bash|fish|powershell|zsh>`\n\nGenerate the autocompletion script for the specified shell.\n\n### `lstn completion bash`\n\nGenerate the autocompletion script for bash.\n\n#### Flags\n\n```\n--no-descriptions disable completion descriptions\n```\n\n### `lstn completion fish [flags]`\n\nGenerate the autocompletion script for fish.\n\n#### Flags\n\n```\n--no-descriptions disable completion descriptions\n```\n\n### `lstn completion powershell [flags]`\n\nGenerate the autocompletion script for powershell.\n\n#### Flags\n\n```\n--no-descriptions disable completion descriptions\n```\n\n### `lstn completion zsh [flags]`\n\nGenerate the autocompletion script for zsh.\n\n#### Flags\n\n```\n--no-descriptions disable completion descriptions\n```\n\n## `lstn config`\n\nDetails about the ~/.lstn.yaml config file.\n\n## `lstn environment`\n\nWhich environment variables you can use with lstn.\n\n## `lstn exit`\n\nDetails about the lstn exit codes.\n\n## `lstn help [command]`\n\nHelp about any command.\n\n## `lstn in [path]`\n\nInspect the verdicts for your dependencies tree.\n\n### Flags\n\n```\n--json output the verdicts (if any) in JSON form\n```\n\n### Config Flags\n\n```\n--endpoint string the listen.dev endpoint emitting the verdicts (default \"https://npm.listen.dev\")\n--loglevel string set the logging level (default \"info\")\n--timeout int set the timeout, in seconds (default 60)\n```\n\n### Debug Flags\n\n```\n--debug-options output the options, then exit\n```\n\n### Filtering Flags\n\n```\n-q, --jq string filter the output verdicts using a jq expression (requires --json)\n```\n\n### Registry Flags\n\n```\n--npm-registry string set a custom NPM registry (default \"https://registry.npmjs.org\")\n```\n\nFor example:\n\n```bash\nlstn in\nlstn in .\nlstn in /we/snitch\nlstn in sub/dir\n```\n\n## `lstn manual`\n\nA comprehensive reference of all the lstn commands.\n\n## `lstn reporters`\n\nA comprehensive guide to the `lstn` reporting mechanisms.\n\n## `lstn scan [path]`\n\nInspect the verdicts for your direct dependencies.\n\n### Flags\n\n```\n--json output the verdicts (if any) in JSON form\n```\n\n### Config Flags\n\n```\n--endpoint string the listen.dev endpoint emitting the verdicts (default \"https://npm.listen.dev\")\n--loglevel string set the logging level (default \"info\")\n--timeout int set the timeout, in seconds (default 60)\n```\n\n### Debug Flags\n\n```\n--debug-options output the options, then exit\n```\n\n### Filtering Flags\n\n```\n --ignore-deptypes (dep,dev,optional,peer) the list of dependencies types to not process (default [bundle])\n --ignore-packages strings the list of packages to not process\n-q, --jq string filter the output verdicts using a jq expression (requires --json)\n-s, --select string filter the output verdicts using a jsonpath script expression (server-side)\n```\n\n### Registry Flags\n\n```\n--npm-registry string set a custom NPM registry (default \"https://registry.npmjs.org\")\n```\n\n### Reporting Flags\n\n```\n --gh-owner string set the GitHub owner name (org|user)\n --gh-pull-id int set the GitHub pull request ID\n --gh-repo string set the GitHub repository name\n-r, --reporter (gh-pull-check,gh-pull-comment,gh-pull-review) set one or more reporters to use (default [])\n```\n\n### Token Flags\n\n```\n--gh-token string set the GitHub token\n```\n\nFor example:\n\n```bash\nlstn scan\nlstn scan .\nlstn scan sub/dir\nlstn scan /we/snitch\nlstn scan /we/snitch --ignore-deptypes peer\nlstn scan /we/snitch --ignore-deptypes dev,peer\nlstn scan /we/snitch --ignore-deptypes dev --ignore-deptypes peer\nlstn scan /we/snitch --ignore-packages react,glob --ignore-deptypes peer\nlstn scan /we/snitch --ignore-packages react --ignore-packages glob,@vue/devtools\n```\n\n## `lstn to <name> [[version] [shasum] | [version constraint]]`\n\nGet the verdicts of a package.\n\n### Flags\n\n```\n--json output the verdicts (if any) in JSON form\n```\n\n### Config Flags\n\n```\n--endpoint string the listen.dev endpoint emitting the verdicts (default \"https://npm.listen.dev\")\n--loglevel string set the logging level (default \"info\")\n--timeout int set the timeout, in seconds (default 60)\n```\n\n### Debug Flags\n\n```\n--debug-options output the options, then exit\n```\n\n### Filtering Flags\n\n```\n-q, --jq string filter the output verdicts using a jq expression (requires --json)\n-s, --select string filter the output verdicts using a jsonpath script expression (server-side)\n```\n\n### Registry Flags\n\n```\n--npm-registry string set a custom NPM registry (default \"https://registry.npmjs.org\")\n```\n\nFor example:\n\n```bash\n# Get the verdicts for all the chalk versions that listen.dev owns\nlstn to chalk\nlstn to debug 4.3.4\nlstn to react 18.0.0 b468736d1f4a5891f38585ba8e8fb29f91c3cb96\n\n# Get the verdicts for all the existing chalk versions\nlstn to chalk \"*\"\n# Get the verdicts for nock versions >= 13.2.0 and < 13.3.0\nlstn to nock \"~13.2.x\"\n# Get the verdicts for tap versions >= 16.3.0 and < 16.4.0\nlstn to tap \"^16.3.0\"\n# Get the verdicts for prettier versions >= 2.7.0 <= 3.0.0\nlstn to prettier \">=2.7.0 <=3.0.0\"\n```\n\n## `lstn version`\n\nPrint out version information.\n\n### Flags\n\n```\n-v, -- count increment the verbosity level\n --changelog output the relase notes URL\n```\n\n### Debug Flags\n\n```\n--debug-options output the options, then exit\n```\n\n"
0 commit comments