Merge pull request #2776 from carapace-sh/gh-updates-v2.72.0

gh: updates from v2.72.0
This commit is contained in:
Ralf Steube 2025-05-03 21:06:00 +02:00 committed by GitHub
commit 72a30b7732
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
package cmd
import (
"github.com/carapace-sh/carapace"
"github.com/spf13/cobra"
)
var accessibilityCmd = &cobra.Command{
Use: "accessibility",
Short: "Learn about GitHub CLI's accessibility experiences",
Aliases: []string{"a11y"},
Hidden: true,
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(accessibilityCmd).Standalone()
accessibilityCmd.Flags().BoolP("web", "w", false, "Open the GitHub Accessibility site in your browser")
rootCmd.AddCommand(accessibilityCmd)
}

View File

@ -20,6 +20,7 @@ func init() {
carapace.Batch(
carapace.ActionCommands(rootCmd),
carapace.ActionValuesDescribed(
"accessibility", "Learn about GitHub CLI's accessibility experiences",
"actions", "Learn about working with GitHub Actions",
"environment", "Environment variables that can be used with gh",
"exit-codes", "Exit codes used by gh",