DBCDK / morph

NixOS deployment tool
MIT License
789 stars 60 forks source link

support specifying multiple deployment files #19

Open adamtulinius opened 5 years ago

adamtulinius commented 5 years ago

E.g. morph build examples/simple.nix examples/secrets.nix (e.g. morph build examples/* expanded by the shell).

This should of course be support by all subcommands.

johanot commented 5 years ago

One problem here is bash completion. Consider morph deploy examples/default.nix ... switch. It's impossible to completion suggest multiple file args, while also being able to suggest keyword args like "switch" | "dry-activate" etc. with kingpin. We might have to make a compromise here.