Skip to content

Commit

Permalink
Merge pull request #2355 from carapace-sh/gh-updates-2.48.0
Browse files Browse the repository at this point in the history
gh: updates from v2.48.0
  • Loading branch information
rsteube authored Apr 17, 2024
2 parents fb8c387 + cfbcbfe commit f7de9d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func init() {
apiCmd.Flags().StringSliceP("preview", "p", []string{}, "GitHub API preview `names` to request (without the \"-preview\" suffix)")
apiCmd.Flags().StringSliceP("raw-field", "f", []string{}, "Add a string parameter in `key=value` format")
apiCmd.Flags().Bool("silent", false, "Do not print the response body")
apiCmd.Flags().Bool("slurp", false, "Use with \"--paginate\" to return an array of all pages of either JSON arrays or objects")
apiCmd.Flags().StringP("template", "t", "", "Format JSON output using a Go template; see \"gh help formatting\"")
apiCmd.Flags().Bool("verbose", false, "Include full HTTP request and response in the output")
rootCmd.AddCommand(apiCmd)
Expand Down
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/attestation_download.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func init() {
attestation_downloadCmd.Flags().StringP("digest-alg", "d", "", "The algorithm used to compute a digest of the artifact: {sha256|sha512}")
attestation_downloadCmd.Flags().StringP("limit", "L", "", "Maximum number of attestations to fetch")
attestation_downloadCmd.Flags().StringP("owner", "o", "", "a GitHub organization to scope attestation lookup by")
attestation_downloadCmd.Flags().String("predicate-type", "", "Filter attestations by provided predicate type")
attestation_downloadCmd.Flags().StringP("repo", "R", "", "Repository name in the format <owner>/<repo>")
attestationCmd.AddCommand(attestation_downloadCmd)

Expand Down
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/attestation_verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func init() {
attestation_verifyCmd.Flags().StringP("limit", "L", "", "Maximum number of attestations to fetch")
attestation_verifyCmd.Flags().Bool("no-public-good", false, "Only verify attestations signed with GitHub's Sigstore instance")
attestation_verifyCmd.Flags().StringP("owner", "o", "", "GitHub organization to scope attestation lookup by")
attestation_verifyCmd.Flags().String("predicate-type", "", "Filter attestations by provided predicate type")
attestation_verifyCmd.Flags().StringP("repo", "R", "", "Repository name in the format <owner>/<repo>")
attestation_verifyCmd.Flags().StringP("template", "t", "", "Format JSON output using a Go template; see \"gh help formatting\"")
attestationCmd.AddCommand(attestation_verifyCmd)
Expand Down
1 change: 1 addition & 0 deletions completers/gh_completer/cmd/auth_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func init() {
auth_loginCmd.Flags().Bool("insecure-storage", false, "Save authentication credentials in plain text instead of credential store")
auth_loginCmd.Flags().StringSliceP("scopes", "s", []string{}, "Additional authentication scopes to request")
auth_loginCmd.Flags().Bool("secure-storage", false, "Save authentication credentials in secure credential store")
auth_loginCmd.Flags().Bool("skip-ssh-key", false, "Skip generate/upload SSH key prompt")
auth_loginCmd.Flags().BoolP("web", "w", false, "Open a browser to authenticate")
auth_loginCmd.Flags().Bool("with-token", false, "Read token from standard input")
auth_loginCmd.Flag("secure-storage").Hidden = true
Expand Down

0 comments on commit f7de9d9

Please sign in to comment.