Is your feature request related to a problem? Please describe.
When running npx @trigger.dev/cli@latest update we should allow you to pass in a to option which would set the version to upgrade to (instead of the default which is "latest".
Describe the solution you'd like to see
- Add a
to option to the update command, default to "latest":
|
.action(async (path) => { |
- If the
to flag isn't "latest" then get ncu to do the change without spitting out the confirmation. There's a flag called upgrade that should work. This file is where edits need to happen:
From SyncLinear.com | TRI-1281
Is your feature request related to a problem? Please describe.
When running
npx @trigger.dev/cli@latest updatewe should allow you to pass in atooption which would set the version to upgrade to (instead of the default which is "latest".Describe the solution you'd like to see
tooption to the update command, default to "latest":trigger.dev/packages/cli/src/cli/index.ts
Line 98 in e350659
toflag isn't "latest" then get ncu to do the change without spitting out the confirmation. There's a flag calledupgradethat should work. This file is where edits need to happen:trigger.dev/packages/cli/src/commands/update.ts
Line 35 in e350659
From SyncLinear.com | TRI-1281