Fixed the init help text
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
"great-meals-listen",
|
||||
"itchy-rockets-provide",
|
||||
"modern-emus-suffer",
|
||||
"quick-stingrays-own",
|
||||
"stupid-files-cough",
|
||||
"tough-walls-share"
|
||||
]
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@trigger.dev/init": patch
|
||||
---
|
||||
|
||||
Fixed the help defaults
|
||||
@@ -1,5 +1,11 @@
|
||||
# create-trigger
|
||||
|
||||
## 0.2.1-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Fixed the help defaults
|
||||
|
||||
## 0.2.1-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user