Merge branch 'feat/cli' into 'main'

feat!: add cli with update and list subcommands + gitignore param

Closes #3

See merge request TECHNOFAB/soonix!3
This commit is contained in:
TECHNOFAB 2026-04-07 16:01:03 +09:00
commit 5676a7e6b8
6 changed files with 245 additions and 105 deletions

View file

@ -41,8 +41,10 @@ in {
}
{
name = "soonix";
files = "nix run .#soonix -- list --skip-gitignore";
stage_fixed = true;
run = "nix run .#soonix:update";
# {files} is needed so lefthook git add's them
run = "nix run .#soonix -- update --skip-gitignore; #{files}";
}
];
};

View file

@ -14,7 +14,7 @@ in
data = {
extends = ["config:recommended"];
postUpgradeTasks.commands = [
"nix-portable nix run .#soonix:update"
"nix-portable nix run .#soonix -- update --skip-gitignore"
];
lockFileMaintenance = {
enabled = true;