Skip to content

Aligning with GitHub CLI? #86

@untitaker

Description

@untitaker

Was mostly able to alias gh to this, but found some minor differences that seem "unnecessary":

  • issue edit
    • Accept --labels as alias for --label to match gh issue edit behavior.
  • label create:
    • Accept name as positional argument. forge label create bug should work, not just forge label create --name bug.
    • Accept color names like red, green, etc. in addition to hex codes like #d73a4a.
    • Improve error message for invalid color format to specify expected format (hex code like #rrggbb).
  • --repo flag:
    • Support host/owner/repo. forge issue view 1 --repo codeberg.org/owner/repo should work without requiring a preconfigured alias. (yes, this really does work for gh)

Is forge aiming to be a drop-in replacement? I think it would be really useful for agents (they already know how to use gh CLI) and people who have scripting built around gh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions