Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 893863b

Browse files
committed
fix: correct help messages
1 parent ce7d690 commit 893863b

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## 1.0.1
4+
5+
### Patch Changes
6+
7+
- Correct help messages.
8+
39
## 1.0.0
410

511
### Major Changes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ All CLI commands communicate with the Flowershow API:
284284
- **Token Storage**: Authentication tokens are stored in `~/.flowershow/token.json`
285285
- **Token Format**: CLI tokens use the `fs_cli_` prefix
286286
- **Token Expiration**: Tokens do not expire by default
287-
- **Token Revocation**: Revoke tokens from the [Flowershow dashboard](https://cloud.flowershow.app/tokens) or via `flowershow auth logout`
287+
- **Token Revocation**: Revoke tokens from the [Flowershow dashboard](https://cloud.flowershow.app/tokens) or via `publish auth logout`
288288
- **Secure Uploads**: Files are uploaded using time-limited presigned URLs
289289
- **No Credentials**: CLI never stores database or storage credentials
290290

lib/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export async function requireAuth(): Promise<UserInfo> {
186186
} catch (error) {
187187
displayError(
188188
"You must be authenticated to use this command.\n" +
189-
"Run `flowershow auth login` to authenticate.",
189+
"Run `publish auth login` to authenticate.",
190190
);
191191
process.exit(0);
192192
}

lib/commands/auth-status.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function authStatusCommand(): Promise<void> {
1212

1313
if (!tokenData) {
1414
console.log(chalk.yellow("\n✗ Not authenticated\n"));
15-
console.log(chalk.gray("Run `flowershow auth login` to authenticate.\n"));
15+
console.log(chalk.gray("Run `publish auth login` to authenticate.\n"));
1616
return;
1717
}
1818

@@ -32,9 +32,7 @@ export async function authStatusCommand(): Promise<void> {
3232
);
3333
} catch (error) {
3434
spinner.fail(chalk.red("Authentication token is invalid or expired"));
35-
console.log(
36-
chalk.gray("Run `flowershow auth login` to re-authenticate.\n"),
37-
);
35+
console.log(chalk.gray("Run `publish auth login` to re-authenticate.\n"));
3836
}
3937
} catch (error) {
4038
if (error instanceof Error) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flowershow/publish",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "CLI tool for publishing to FlowerShow",
55
"type": "module",
66
"main": "./dist/cli.js",

0 commit comments

Comments
 (0)