added modular packages
This commit is contained in:
1
cmd/.gitignore
vendored
Normal file
1
cmd/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.yaml
|
18
cmd/backup.go
Normal file
18
cmd/backup.go
Normal 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"
|
||||
|
||||
}
|
Reference in New Issue
Block a user