import{Command as e}from"@oclif/core";var t=class extends e{static summary=`Git workflow utilities`;static description=`
    Git workflow tools for PR management and worktrees.
    Supports PR checkout with gh/git fallback, browser PR viewing, and worktree operations.
  `;static examples=[`<%= config.bin %> <%= command.id %>:prc --web --browser safari`,`<%= config.bin %> <%= command.id %>:prr 123                     # checkout PR 123`,`<%= config.bin %> <%= command.id %>:prv 456 --browser arc       # open PR 456 in Arc`,`<%= config.bin %> <%= command.id %>:worktree --list`,`<%= config.bin %> <%= command.id %>:wta -b feature/foo --base main`,`cd $(<%= config.bin %> <%= command.id %>:wts -b feature/foo)    # switch worktree`];async run(){this.log(`Git workflow utilities for xling
`),this.log(`Available subcommands:`),this.log(`  prc      - Create PR with optional browser preview`),this.log(`  prr      - Checkout PR branch (PR Read/Retrieve)`),this.log(`  prv      - Open PR in web browser (PR View)`),this.log(`  wta/wts/wtl/wtr/wtp - Worktree helpers (add/switch/list/remove/prune)
`),this.log(`Use --help with any subcommand for details`),this.log(`
Examples:`),this.log(`  xling git:prc --web --browser chrome`),this.log(`  xling git:prr 123`),this.log(`  xling git:prv 456 --browser safari`),this.log(`  xling git:worktree --list`)}};export{t as default};