diff --git a/config.toml b/config.toml deleted file mode 100644 index af2c68e..0000000 --- a/config.toml +++ /dev/null @@ -1,48 +0,0 @@ -[tasks.dev] - [[tasks.dev.links]] - src = ".gitconfig" - -[tasks.base] - [[tasks.base.links]] - src = ".config/fish" - - [[tasks.base.links]] - src = ".config/keepassx" - - [[tasks.base.links]] - src = ".filezilla" - - [[tasks.base.links]] - src = "profile" - -[tasks.study] - [[tasks.study.links]] - src = "Anki" - - [[tasks.study.links]] - src = ".yomichan.json" - -[tasks.net] - [[tasks.net.links]] - src = ".filezilla" - - [[tasks.net.links]] - src = ".s3cfg" - -[tasks.flatline] - deps = ["base", "dev", "study", "net"] - - [[tasks.flatline.links]] - src = ".ssh_flatline" - dst = ".ssh" - - [[tasks.flatline.links]] - src = ".config/syncthing_flatline" - dst = ".config/syncthing" - -[tasks.wintermute] - deps = ["base", "dev", "study"] - - [[tasks.wintermute.links]] - src = ".ssh_wintermute" - dst = ".ssh" diff --git a/main.go b/homemaker.go similarity index 97% rename from main.go rename to homemaker.go index b181b3f..7ef9411 100644 --- a/main.go +++ b/homemaker.go @@ -71,7 +71,7 @@ func parse(filename string) (*config, error) { func fatalUsage() { _, executable := path.Split(os.Args[0]) - fmt.Printf("Usage: %s [options] config_file [source_dir]\n", executable) + fmt.Printf("Usage: %s [options] conf_file [src_dir]\n\n", executable) flag.PrintDefaults() os.Exit(1) }