diff --git a/completers/gh_completer/cmd/api.go b/completers/gh_completer/cmd/api.go index 2c70932fb9..1eba3a7d58 100644 --- a/completers/gh_completer/cmd/api.go +++ b/completers/gh_completer/cmd/api.go @@ -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) diff --git a/completers/gh_completer/cmd/attestation_download.go b/completers/gh_completer/cmd/attestation_download.go index 43e4c3eed2..40a85a2342 100644 --- a/completers/gh_completer/cmd/attestation_download.go +++ b/completers/gh_completer/cmd/attestation_download.go @@ -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 /") attestationCmd.AddCommand(attestation_downloadCmd) diff --git a/completers/gh_completer/cmd/attestation_verify.go b/completers/gh_completer/cmd/attestation_verify.go index 56ede58645..236d9e7c5b 100644 --- a/completers/gh_completer/cmd/attestation_verify.go +++ b/completers/gh_completer/cmd/attestation_verify.go @@ -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 /") attestation_verifyCmd.Flags().StringP("template", "t", "", "Format JSON output using a Go template; see \"gh help formatting\"") attestationCmd.AddCommand(attestation_verifyCmd) diff --git a/completers/gh_completer/cmd/auth_login.go b/completers/gh_completer/cmd/auth_login.go index 17a48189d2..ffd3fb5d65 100644 --- a/completers/gh_completer/cmd/auth_login.go +++ b/completers/gh_completer/cmd/auth_login.go @@ -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