Skip to content

Commit

Permalink
add version param
Browse files Browse the repository at this point in the history
  • Loading branch information
kla committed Nov 24, 2024
1 parent f213ab2 commit 069ac2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Command } from 'commander'
import { existsSync, mkdirSync } from 'fs'
import { existsSync, mkdirSync, readFileSync } from 'fs'
import { capture, run } from '~/shell'
import { exit, parseAndRemoveWildcardOptions, pp, requireDockerVersion } from '~/utils'
import { StaxConfig } from '~/types'
import { version } from 'process'
import icons from '~/icons'
import Stax from '~/stax'
import * as path from 'path'
Expand All @@ -17,6 +18,7 @@ const stax = new Stax(DEFAULT_CONTEXT_NAME)
const program = new Command()

program.name('stax')
program.version(version.replace('v', ''))

program.command('alias')
.argument('[name]', 'Name of application')
Expand Down

0 comments on commit 069ac2a

Please sign in to comment.