WIP: A simple cli for daily tangled use cases and AI integration. This is for my personal use right now, but happy if others get mileage from it! :)

Add --web flag to issue create to open in browser #12

open opened by markbennett.ca

Context#

When creating an issue, it's often useful to immediately open it in the browser to verify it looks correct or to share the link. The gh CLI supports gh issue create --web for this purpose, and it's a convenient quality-of-life feature for human workflows.

Tasks#

  • Add --web / -w flag to tangled issue create.
    • After successful creation, open the issue URL in the default browser using Node's open package (or a lightweight equivalent).
    • The flag should be a no-op (silently ignored) in non-interactive / piped environments where opening a browser makes no sense.
  • Add tests verifying the browser open is triggered when --open is passed and skipped otherwise.

Notes#

Should not block or change the normal stdout output — the issue URL should still be printed as usual, and the browser open should happen as a side effect.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:b2mcbcamkwyznc5fkplwlxbf/sh.tangled.repo.issue/3mejucnkxwk2t