Skip to content

Rework the CLI: Use subcommands#463

Draft
antifuchs wants to merge 4 commits into
mainfrom
push-ztquovvszwpx
Draft

Rework the CLI: Use subcommands#463
antifuchs wants to merge 4 commits into
mainfrom
push-ztquovvszwpx

Conversation

@antifuchs

@antifuchs antifuchs commented May 25, 2026

Copy link
Copy Markdown
Collaborator

This PR separates out the various steps into commands that can be run independently (and it keeps a "super" command that does all the things in the order deploy-flake has done so far... but maybe without the extra flags that turn on or off various settings).

  • Make a deploy subcommand
  • copy subcommand
  • test subcommand
  • boot subcommand

@antifuchs antifuchs marked this pull request as draft May 25, 2026 18:56
@antifuchs antifuchs force-pushed the push-ztquovvszwpx branch 2 times, most recently from 946623b to 62735f2 Compare May 27, 2026 16:20
@antifuchs antifuchs force-pushed the push-ztquovvszwpx branch from 98da2ce to 81af21f Compare June 14, 2026 14:25
This is a bit mid right now, since there are no other commands, but it does improve the code structure a bit.
This prints the time that the currently-active system closure was materialized in the nix store, the size and the path of that closure.
@antifuchs antifuchs force-pushed the push-ztquovvszwpx branch from 81af21f to 36905c0 Compare June 14, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant