gh ruleset view
gh ruleset view [<ruleset-id>] [flags]
View information about a GitHub ruleset.
If no ID is provided, an interactive prompt will be used to choose the ruleset to view.
Use the--parents
flag to control whether rulesets configured at higher
levels that also apply to the provided repository or organization should
be returned. The default istrue
.
Options
-o
,--org <string>
- Organization name if the provided ID is an organization-level ruleset
-p
,--parents (default true)
- Whether to include rulesets configured at higher levels that also apply
-w
,--web
- Open the ruleset in the browser
Options inherited from parent commands
-R
,--repo <[HOST/]OWNER/REPO>
- Select another repository using the [HOST/]OWNER/REPO format