Closed srid closed 1 month ago
om show's goal: enable anyone (engineer to CEO) to "inspect" a project, and start interacting with it immediately.
om show
Make the om show command render the information returned by nix flake show --json | jq but nicely.
nix flake show --json | jq
Display the following:
meta.description
[!note] For this task, begin with implementing basic functionality. We can improve om show in subsequent PRs over time.
nix develop .#foo
foo
omnix
omnix-gui
om show github:nammayatri/nammayatri om show github:juspay/omnix om show github:srid/nixos-config
(Just pushed some commits to main, so as to sort out the common stuff)
main
Goal
om show
's goal: enable anyone (engineer to CEO) to "inspect" a project, and start interacting with it immediately.What
Make the
om show
command render the information returned bynix flake show --json | jq
but nicely.Display the following:
meta.description
of derivationsOpen questions:
nix develop .#foo
to launch thefoo
devShell. Same for checks, packages.Implementation considerations:
omnix
crate, so it can be used byomnix-gui
later onomnix-gui
toomnix
if necessary (refactoringomnix-gui
in the process)Test on