Standalone CLI
OctoGuide also provides a standalone octoguide CLI you can run outside GitHub Actions.
octoguide can analyze a GitHub contribution and preview what rule violations that the OctoGuide action would report for it.
This CLI to use the same underlying API as also used in the GitHub Action.
npx octoguide https://github.com/OctoGuide/bot/issues/19pnpx octoguide https://github.com/OctoGuide/bot/issues/19yarn dlx octoguide https://github.com/OctoGuide/bot/issues/19Found 0 reports. Great! ✅The octoguide CLI takes in one required positional argument for the activity to be scanned.
That activity may also be provided as a shorthand locator:
- Omitting the
https://github.com:npx octoguide OctoGuide/bot/issues/19 - Omitting the owner, which defaults to your logged in user:
npx octoguide bot/issues/19
--config
Section titled “--config”Which preset config to use, as either:
recommended(default)strict
npx octoguide OctoGuide/bot/issues/19 --config strict