summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar liruifengv <liruifeng1024@gmail.com> 2024-10-31 15:51:39 +0800
committerGravatar GitHub <noreply@github.com> 2024-10-31 15:51:39 +0800
commitffc836bac0cdea684ea91f958ac8298d4ee4b07d (patch)
tree6e5edbb5e3791aaf3b9d7b0f34c7561f5f9cc853
parentc414eec6ac404491548dcaa5d4d14d388ae33e0e (diff)
downloadastro-ffc836bac0cdea684ea91f958ac8298d4ee4b07d.tar.gz
astro-ffc836bac0cdea684ea91f958ac8298d4ee4b07d.tar.zst
astro-ffc836bac0cdea684ea91f958ac8298d4ee4b07d.zip
Fix cli command typo (#12342)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
-rw-r--r--.changeset/mighty-pants-rush.md5
-rw-r--r--packages/astro/src/cli/index.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/mighty-pants-rush.md b/.changeset/mighty-pants-rush.md
new file mode 100644
index 000000000..9eb14bfa2
--- /dev/null
+++ b/.changeset/mighty-pants-rush.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fixes a typo in the command name of the CLI
diff --git a/packages/astro/src/cli/index.ts b/packages/astro/src/cli/index.ts
index 5f1cc75a9..a963b8414 100644
--- a/packages/astro/src/cli/index.ts
+++ b/packages/astro/src/cli/index.ts
@@ -84,7 +84,7 @@ function resolveCommand(flags: yargs.Arguments): CLICommand {
'db',
'info',
'login',
- 'loutout',
+ 'logout',
'link',
'init',
]);