From cde0719c5e424d78a76bd8f226e2b3e1c14e800c Mon Sep 17 00:00:00 2001 From: Gwen Shapira Date: Fri, 21 Feb 2025 16:30:43 -0800 Subject: [PATCH] fix the version command --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cbfe341..42ff8f2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,9 +7,10 @@ import { createDbCommand } from './commands/db'; import { createTenantsCommand } from './commands/tenants'; import { configCommand } from './commands/config'; import { addGlobalOptions, updateChalkConfig } from './lib/globalOptions'; +import { version } from '../package.json'; const cli = new Command() - .version('0.1.0') + .version(version) .description('Nile CLI') .addHelpText('after', ` Examples: