diff --git a/command/main.go b/command/main.go index 8a738b5..570778b 100644 --- a/command/main.go +++ b/command/main.go @@ -14,6 +14,7 @@ import ( "git.sr.ht/~hyperreal/go-torrent-helper/parrot" "git.sr.ht/~hyperreal/go-torrent-helper/qubes" "git.sr.ht/~hyperreal/go-torrent-helper/rocky" + "git.sr.ht/~hyperreal/go-torrent-helper/tails" "github.com/hekmon/transmissionrpc" ) @@ -132,6 +133,7 @@ func (l *ListCmd) Run(d Distro) error { "parrot", "qubes", "rocky", + "tails", } fmt.Println("Supported distributions:") @@ -219,6 +221,10 @@ func Root(args []string) error { r := &rocky.Rocky{NameSubstr: "Rocky", Relver: relver} return cmd.Run(r) + case "tails": + t := &tails.Tails{NameSubstr: "Tails", Relver: relver} + return cmd.Run(t) + default: return fmt.Errorf("Unknown distro: %s", distro) }