Skip to content

Allow gh search repos --archived to take true or false value #8389

@knutwannheden

Description

@knutwannheden

Currently the gh search repos --archived is documented as "Filter based on archive state". It does indeed allow to filter on archived repos, but I think it would be really nice if it could also be used to exclude any archived repos, by using it as --archived false, similar to how it is described in the linked documentation: https://docs.github.com/en/search-github/searching-on-github/searching-for-repositories#search-based-on-whether-a-repository-is-archived

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsenhancementa request to improve CLIgh-searchrelating to the gh search commandhelp wantedContributions welcome

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions