(args)
| 141 | } |
| 142 | |
| 143 | function parseArgs(args) { |
| 144 | return { |
| 145 | cleanupStale: args.includes("--cleanup-stale"), |
| 146 | dryRun: args.includes("--dry-run"), |
| 147 | }; |
| 148 | } |
| 149 | |
| 150 | async function cleanupRecordedBranch(input) { |
| 151 | const record = readActiveBranchRecord(input.repositoryRoot); |