Skip to content

Commit

Permalink
feat: add create command alias init
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Mar 31, 2024
1 parent 7f3b8fe commit 60fda92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ USAGE shelve <command|shortcut> [options]
| Commands | Description | Shortcut |
|----------|------------------------------------------------------|-----------|
| create | Create a new Shelve project | c |
| init | alias for create | i |
| upgrade | Upgrade the Shelve CLI to the latest version | u |
| link | Link the current directory with a Shelve project | l |
| unlink | Unlink the current directory from a Shelve project | ul |
Expand Down
2 changes: 2 additions & 0 deletions apps/cli/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export const main = defineCommand({
upgrade: () => import('./commands/upgrade').then((r) => r.default),
u: () => import('./commands/upgrade').then((r) => r.default),
create: () => import('./commands/create').then((r) => r.default),
init: () => import('./commands/create').then((r) => r.default),
i: () => import('./commands/create').then((r) => r.default),
c: () => import('./commands/create').then((r) => r.default),
link: () => import('./commands/link').then((r) => r.default),
l: () => import('./commands/link').then((r) => r.default),
Expand Down

0 comments on commit 60fda92

Please sign in to comment.