Skip to content

Commit

Permalink
version bump and help command in addition to flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cupcakearmy committed Jan 7, 2020
1 parent e3506e4 commit f620bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autorestic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ export const { _: commands, ...flags } = minimist(process.argv.slice(2), {
string: ['l', 'b'],
})

export const VERSION = '0.13'
export const VERSION = '0.14'
export const INSTALL_DIR = '/usr/local/bin'
export const VERBOSE = flags.verbose

export const config = init()


async function main() {
if (commands.length < 1) return help()
if (commands.length < 1 || commands[0] === 'help') return help()

const command: string = commands[0]
const args: string[] = commands.slice(1)
Expand Down

0 comments on commit f620bb1

Please sign in to comment.