This package has been deprecated

Author message:

please use https://github.com/stoe/action-uses-cli/packages/778321 instead

action-uses-cli

1.1.1 • Public • Published

action-uses-cli

Test CodeQL styled with prettier

CLI to grab GitHub action uses strings

Install

$ npm i -g action-uses-cli

Usage

$ action-uses-cli [--options]

Required options (one of)

  • --enterprise, -e GitHub Enterprise Cloud account slug (e.g. enterprise)
  • --owner, -o GitHub organization/user login (e.g. owner) If --owner is a user, results for the authenticated user (--token) will be returned
  • --repository, -r GitHub repository name with owner (e.g. owner/repo)

Additional options

  • --exclude Exclude actions created by GitHub, i.e. actions from https://github.com/actions and https://github.com/github organizations'
  • --csv Path to CSV for the output (e.g. /path/to/action-uses.csv)
  • --token, -t GitHub Personal Access Token (PAT) (default GITHUB_TOKEN)
  • --help, -h Print action-uses-cli help
  • --version, -v Print action-uses-cli version

Examples

# Output GitHub Actions `uses` for all repositories under a GitHub Enterprise Cloud account to stdout
$ action-uses-cli -e my-enterprise

# Output GitHub Actions `uses` for all organization repositories to stdout
$ action-uses-cli -o my-org

# Output GitHub Actions `uses` for all user repositories to stdout
$ action-uses-cli -o stoe

# Output GitHub Actions `uses` for the stoe/action-uses-cli repository to stdout
$ action-uses-cli -o stoe/action-uses-cli

# Output GitHub Actions `uses` for all organization repositories to /path/to/action-uses.csv
$ action-uses-cli -o my-org --csv /path/to/action-uses.csv

License

MIT © Stefan Stölzle

Readme

Keywords

none

Package Sidebar

Install

npm i action-uses-cli

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

15.4 kB

Total Files

7

Last publish

Collaborators

  • stoelzle