Skip to content

Commit 64aff94

Browse files
committed
fix(cli): rename logout command
1 parent 91de492 commit 64aff94

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.changeset/quiet-rings-mix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"replexica": patch
3+
---
4+
5+
rename logout cli flag

packages/cli/src/auth.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ export default new Command()
1313
.command("auth")
1414
.description("Authenticate with Replexica API")
1515
.helpOption("-h, --help", "Show help")
16-
.option("-d, --delete", "Delete existing authentication")
17-
.option("-l, --login", "Authenticate with Replexica API")
16+
.option("--logout", "Delete existing authentication")
17+
.option("--login", "Authenticate with Replexica API")
1818
.action(async (options) => {
1919
const env = getEnv();
2020
let config = await loadSettings();
2121

22-
if (options.delete) {
22+
if (options.logout) {
2323
await logout();
2424
}
2525
if (options.login) {

0 commit comments

Comments
 (0)