ticketlens 0.43.0 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1210,7 +1210,7 @@ export function printPrHelp({ stream = process.stdout } = {}) {
|
|
|
1210
1210
|
const s = createStyler({ isTTY: stream.isTTY });
|
|
1211
1211
|
const lines = [
|
|
1212
1212
|
'',
|
|
1213
|
-
` ${s.bold(s.brand('ticketlens'))} ${s.bold('pr')} ${s.dim('<TICKET-KEY> [--profile=NAME]')}`,
|
|
1213
|
+
` ${s.bold(s.brand('ticketlens'))} ${s.bold('pr')} ${s.dim('<TICKET-KEY> [--profile=NAME] [--open]')}`,
|
|
1214
1214
|
'',
|
|
1215
1215
|
` Assemble a pull-request description from a ticket's context —`,
|
|
1216
1216
|
` summary, acceptance criteria, and linked issues, formatted as a`,
|
|
@@ -1219,12 +1219,18 @@ export function printPrHelp({ stream = process.stdout } = {}) {
|
|
|
1219
1219
|
` ${s.bold('OPTIONS')}`,
|
|
1220
1220
|
'',
|
|
1221
1221
|
` ${s.brand('--profile')}=${s.dim('NAME')} Use a specific Jira profile`,
|
|
1222
|
+
` ${s.brand('--open')} Open a real GitHub PR compare page prefilled with this`,
|
|
1223
|
+
` description, instead of just printing it. TicketLens Pro`,
|
|
1224
|
+
` required. GitHub only — refuses cleanly on a non-GitHub`,
|
|
1225
|
+
` remote, detached HEAD, an unpushed branch, or when already`,
|
|
1226
|
+
` on the base branch.`,
|
|
1222
1227
|
` ${s.brand('-h')}, ${s.brand('--help')} Show this help`,
|
|
1223
1228
|
'',
|
|
1224
1229
|
` ${s.bold('EXAMPLES')}`,
|
|
1225
1230
|
'',
|
|
1226
1231
|
` ${s.dim('$')} ticketlens pr PROJ-123`,
|
|
1227
1232
|
` ${s.dim('$')} ticketlens pr PROJ-123 --profile=myteam`,
|
|
1233
|
+
` ${s.dim('$')} ticketlens pr PROJ-123 --open`,
|
|
1228
1234
|
'',
|
|
1229
1235
|
];
|
|
1230
1236
|
stream.write(lines.join('\n') + '\n');
|