arnarg / nixidy

Kubernetes GitOps with nix and Argo CD.
https://arnarg.github.io/nixidy/
MIT License
101 stars 4 forks source link

Create a CLI to interact with a nixidy flake #6

Closed arnarg closed 10 months ago

arnarg commented 11 months ago

It would be more user friendly to have a nice CLI to get info about environments and run CI scripts without having to know the internals.

Ideas

Get env info

>> nixidy info .#dev
{
  "repository": "https://...",
  "branch": "env/dev"
}

Run CI script

nixidy ci .#dev

Build env locally

nixidy build .#dev