Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.12 KB

README.md

File metadata and controls

33 lines (23 loc) · 2.12 KB

find releases

An octoherd script to find GitHub releases

Usage

Minimal usage

$ npx @octoherd/script-find-releases

Pass all options as CLI flags to avoid user prompts

$ npx @octoherd/script-find-releases \
  --since "2020-02-02" \
  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
  -R "octoherd/repository-with-script-folders"

Options

option type description
--since string Ignore releases before a specific date. Example: --since 2020-02-02
--octoherd-token, -T string A personal access token (create). Script will create one if option is not set
--octoherd-repos, -R array of strings One or multiple space-separated repositories in the form of repo-owner/repo-name. repo-owner/* will find all repositories for one owner. * will find all repositories the user has access to. Will prompt for repositories if not set
--octoherd-bypass-confirms boolean Bypass prompts to confirm mutating requests

License

ISC