mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-02 08:40:39 +00:00
move default config file
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user