diff --git a/package.json b/package.json index ed5aa0e..3fdf789 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "termz", - "version": "0.5.0", + "version": "0.6.0", "description": "Setup terminals on your own terms", "author": "RikThePixel", "license": "GPL-3.0", @@ -59,4 +59,4 @@ "CLI", "terminal" ] -} +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index df75b94..bd35937 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,14 +1,15 @@ import { Command } from "commander"; import { openCommand } from "./commands/open"; // import { createCommand } from "./commands/create"; +import { version } from "../package.json"; const program = new Command("termz") .description("Setup terminal sessions with ease") - .version("0.5.0", "-v, --version") + .version(version, "-v, --version") .option("--quiet", "Prevents unnecessary output", false) .option("--verbose", "Logs everything, helpful for debugging", false); program.addCommand(openCommand, { isDefault: true }); //.addCommand(createCommand); -program.parse(); +program.parse(); \ No newline at end of file