Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
Add -V cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairnick committed Jun 19, 2024
1 parent 43a3274 commit 3601a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-webroute-app",
"description": "",
"version": "0.2.0",
"version": "0.3.0",
"author": {
"name": "Nick Sinclair",
"email": "nicksinclair@xtra.co.nz",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import { intro } from "@clack/prompts";
import pc from "picocolors";
import { promptStandalone } from "./standalone/prompt";
import { program } from "@commander-js/extra-typings";
import pkg from "../package.json";

program
.version(pkg.version)
.description("Initialize a webroute app")
.argument("<dest>", "Destination folder")
.action(async (dest, opts) => {
Expand Down

0 comments on commit 3601a8f

Please sign in to comment.