added modular packages

This commit is contained in:
2022-11-22 15:09:39 -06:00
parent 62be691fea
commit 6304866953
9 changed files with 181 additions and 126 deletions

1
cmd/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.yaml

18
cmd/backup.go Normal file
View File

@ -0,0 +1,18 @@
package main
import (
"git.andrewnw.xyz/CyberShell/backy/pkg/backy"
)
func main() {
// config := backy.BackupConfig{
// BackupType: "restic",
// Name: "mail-svr",
// }
// home, err := homedir.Dir()
host := backy.Host{}
host.Host = "email-svr"
}