search repos command add usage example for --archived=false (#8391)
This commit is contained in:
parent
b62e977c91
commit
29bd9dc6eb
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ func NewCmdRepos(f *cmdutil.Factory, runF func(*ReposOptions) error) *cobra.Comm
|
|||
|
||||
# search repositories without topic "linux"
|
||||
$ gh search repos -- -topic:linux
|
||||
|
||||
# search repositories excluding archived repositories
|
||||
$ gh search repos --archived=false
|
||||
`),
|
||||
RunE: func(c *cobra.Command, args []string) error {
|
||||
if len(args) == 0 && c.Flags().NFlag() == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue