Skip to content

Commit

Permalink
fix: make CLI create directory argument optional (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 21, 2024
1 parent 9ab96e4 commit ab031a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-chefs-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"assistant-ui": patch
---

fix: make `create` directory argument optional
4 changes: 2 additions & 2 deletions packages/cli/src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { spawn } from "child_process";
export const create = new Command()
.name("create")
.description("create a new project")
.arguments("<project-directory>")
.usage(`${chalk.green("<project-directory>")} [options]`)
.argument("[project-directory]")
.usage(`${chalk.green("[project-directory]")} [options]`)
.option(
"--use-npm",
`
Expand Down

0 comments on commit ab031a0

Please sign in to comment.