diff options
| -rw-r--r-- | main.v | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,6 +1,18 @@ module main import time +import os +import os.cmdline + +struct Backup_config { + source string @[required] + destination string @[required] + keep int = 10 + incremental bool + dry_run bool + verbose bool + compression bool +} fn main() { println('Welcome to vbackup!') @@ -11,5 +23,3 @@ fn get_timestamp() string { now := time.now() return now.format_rfc3339() } - - |
