Skip to content

stoe/action-reporting-parse-cli

Repository files navigation

action-reporting-parse-cli

Test CodeQL Publish styled with prettier

CLI to parse https://github.com/stoe/action-reporting-cli reports

Usage example

$ npx @stoe/action-reporting-parse-cli [--options]

Note Report CSV file will be saved in current_directory/uses.csv.

Required options

  • --config, -c Path to config.yml file.
  • --data, -d Path to data directory to lookup *actions.json files.

Additional options

  • --open, -o Open the generated CSV file.

Helper options

  • --help, -h Print action-reporting-parse-cli help.
  • --version, -v Print action-reporting-parse-cli version.

Examples

# Run action-reporting-parse-cli with default options
$ npx @stoe/action-reporting-parse-cli \
  --config ./config.yml \
  --data ./data
# Run action-reporting-parse-cli with default options
# and open the generated CSV file
$ npx @stoe/action-reporting-parse-cli \
  --config ./config.yml \
  --data ./data \
  --open

License

MIT © Stefan Stölzle