mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26:25 +00:00
correct link
This commit is contained in:
parent
b025aeeeab
commit
b690c1c3a9
@ -31,12 +31,18 @@ const enqueue = (fn: Function) => (cmd: any) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
program.storeOptionsAsProperties()
|
program.storeOptionsAsProperties()
|
||||||
program.name('autorestic').version(VERSION)
|
program.name('autorestic').description('Easy Restic CLI Utility').version(VERSION)
|
||||||
|
|
||||||
program.option('-c, --config <path>', 'Config file').option('-v, --verbose', 'Verbosity', false)
|
program.option('-c, --config <path>', 'Config file').option('-v, --verbose', 'Verbosity', false)
|
||||||
|
|
||||||
program.command('info').action(enqueue(info))
|
program.command('info').action(enqueue(info))
|
||||||
|
|
||||||
|
program.on('--help', () => {
|
||||||
|
console.log('')
|
||||||
|
console.log(`${'Docs:'.yellow}\t\thttps://autorestic.vercel.app`)
|
||||||
|
console.log(`${'Examples:'.yellow}\thttps://autorestic.vercel.app/examples`)
|
||||||
|
})
|
||||||
|
|
||||||
program
|
program
|
||||||
.command('check')
|
.command('check')
|
||||||
.description('Checks and initializes backend as needed')
|
.description('Checks and initializes backend as needed')
|
||||||
|
Loading…
Reference in New Issue
Block a user