Skip to content

Commit

Permalink
Fixed the init help text
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed Jun 23, 2023
1 parent 3ae4e11 commit d0ad2bd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"great-meals-listen",
"itchy-rockets-provide",
"modern-emus-suffer",
"quick-stingrays-own",
"stupid-files-cough",
"tough-walls-share"
]
Expand Down
5 changes: 5 additions & 0 deletions .changeset/quick-stingrays-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@trigger.dev/init": patch
---

Fixed the help defaults
6 changes: 6 additions & 0 deletions packages/init-trigger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-trigger

## 0.2.1-next.2

### Patch Changes

- Fixed the help defaults

## 0.2.1-next.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/init-trigger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trigger.dev/init",
"version": "0.2.1-next.1",
"version": "0.2.1-next.2",
"description": "The CLI to easily initialize Trigger.dev in your Next.js project",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
9 changes: 4 additions & 5 deletions packages/init-trigger/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,22 @@ export const parseCliOptions = async () => {
)
.option(
"-k, --api-key <api-key>",
"The development API key to use for the project.",
false
"The development API key to use for the project."
)
.option(
"-e, --endpoint-slug <endpoint-slug>",
"The unique slug for the endpoint to use for this project. (e.g. my-nextjs-project)",
false
"my-nextjs-project"
)
.option(
"-u, --endpoint-url <endpoint-url>",
"The URL of your local Next.js project. (e.g. http://localhost:3000). NOTE: Must be a publicly accessible URL if you are using a deployed Trigger.dev instance",
false
"http://localhost:3000"
)
.option(
"-t, --trigger-url <trigger-url>",
"The URL of the Trigger.dev instance to use. (e.g. https://cloud.trigger.dev)",
false
"https://cloud.trigger.dev"
)
.version(getVersion(), "-v, --version", "Display the version number")
.parse(process.argv);
Expand Down

0 comments on commit d0ad2bd

Please sign in to comment.