|
|
@ -26,7 +26,7 @@ export const { _: commands, ...flags } = minimist(process.argv.slice(2), {
|
|
|
|
string: ['l', 'b'],
|
|
|
|
string: ['l', 'b'],
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
export const VERSION = '0.1'
|
|
|
|
export const VERSION = '0.3'
|
|
|
|
export const DEFAULT_CONFIG = '/.autorestic.yml'
|
|
|
|
export const DEFAULT_CONFIG = '/.autorestic.yml'
|
|
|
|
export const INSTALL_DIR = '/usr/local/bin'
|
|
|
|
export const INSTALL_DIR = '/usr/local/bin'
|
|
|
|
export const CONFIG_FILE: string = resolve(flags.config || homedir() + DEFAULT_CONFIG)
|
|
|
|
export const CONFIG_FILE: string = resolve(flags.config || homedir() + DEFAULT_CONFIG)
|
|
|
|