|
|
@ -85,7 +85,7 @@ const handlers: Handlers = {
|
|
|
|
if (!config) throw ConfigError
|
|
|
|
if (!config) throw ConfigError
|
|
|
|
checkIfResticIsAvailable()
|
|
|
|
checkIfResticIsAvailable()
|
|
|
|
|
|
|
|
|
|
|
|
if(!flags.to) {
|
|
|
|
if (!flags.to) {
|
|
|
|
console.log(`You need to specify the restore path with --to`.red)
|
|
|
|
console.log(`You need to specify the restore path with --to`.red)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -259,6 +259,7 @@ export const help = () => {
|
|
|
|
'\n',
|
|
|
|
'\n',
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export const error = () => {
|
|
|
|
export const error = () => {
|
|
|
|
help()
|
|
|
|
help()
|
|
|
|
console.log(
|
|
|
|
console.log(
|
|
|
|