move default config file

This commit is contained in:
cupcakearmy
2019-06-20 23:54:18 +02:00
parent 59792316cb
commit 0802dedb47
2 changed files with 4 additions and 3 deletions

View File

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