An open API service indexing awesome lists of open source software.

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

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

cli github parser reporting

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# action-reporting-parse-cli

[![Test](https://github.com/stoe/action-reporting-parse-cli/actions/workflows/test.yml/badge.svg)](https://github.com/stoe/action-reporting-parse-cli/actions/workflows/test.yml) [![CodeQL](https://github.com/stoe/action-reporting-parse-cli/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/stoe/action-reporting-parse-cli/actions/workflows/github-code-scanning/codeql) [![Publish](https://github.com/stoe/action-reporting-parse-cli/actions/workflows/publish.yml/badge.svg)](https://github.com/stoe/action-reporting-parse-cli/actions/workflows/publish.yml) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

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

## Usage example

```sh
$ 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

```sh
# Run action-reporting-parse-cli with default options
$ npx @stoe/action-reporting-parse-cli \
--config ./config.yml \
--data ./data
```

```sh
# 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](./license) © [Stefan Stölzle](https://github.com/stoe)