Skip to content

Commit

Permalink
[cli][small] fix grammar + use terminalLink for dashboard (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
stopachka authored Nov 25, 2024
1 parent bb004fe commit 97f30e3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions client/packages/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ program
"--skip-check-types",
"Don't check types on the server when pushing schema",
)
.description("Push schema and perms to production.")
.description("Push schema and perm files to production.")
.action(async function (arg, inputOpts) {
const ret = convertPushPullToCurrentFormat("push", arg, inputOpts);
if (!ret.ok) return;
Expand Down Expand Up @@ -380,9 +380,7 @@ program
"-a --app <app-id>",
"App ID to push to. Defaults to *_INSTANT_APP_ID in .env",
)
.description(
"Generate schema and perm files from from your production state.",
)
.description("Pull schema and perm files from production.")
.action(async function (arg, inputOpts) {
const ret = convertPushPullToCurrentFormat("pull", arg, inputOpts);
if (!ret.ok) return;
Expand Down Expand Up @@ -698,7 +696,7 @@ async function handleCreatedApp(
console.log(chalk.green(`Successfully created your Instant app "${appId}"`));
console.log(`Please add your app ID to your .env config:`);
console.log(chalk.magenta(`INSTANT_APP_ID=${appId}`));
console.log(chalk.underline(appDashUrl(appId)));
console.log(terminalLink("Dashboard", appDashUrl(appId)));

if (!schema) {
const schemaPath = join(pkgDir, "instant.schema.ts");
Expand Down

0 comments on commit 97f30e3

Please sign in to comment.