Sprint B.5: add-LICENSE action (MIT/Apache-2.0) in [m] menu + vulp repo license

- src/license/: embedded templates, holder resolution (config > git user.name
  > account username), write path shared by TUI and CLI
- TUI: bulk-aware [m] entry over action_targets(), kind select + confirm,
  point-updates has_license/is_dirty, logs to activity (new License kind)
- CLI: vulp repo license <repo>...|--all [--kind] [--holder] [--json],
  skips already-licensed repos, exit 2/4 contract kept
- config: license_holder + default_license fields (TUI-editable)
- never overwrites an existing license, never auto-commits
This commit is contained in:
dualfroz committed 2026-07-06 15:37:25 +02:00
1 parent 0468c032c6
commit f1432d1cd3
15 files changed
+506 -7

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ pub async fn run(cmd: Commands, json: bool, cfg: &AppConfig) -> Result<()> {
Commands::Pr { action } => remote::pr(cfg, json, action).await,
Commands::Issue { action } => remote::issue(cfg, json, action).await,
Commands::Repo { action } => remote::repo_cmd(cfg, action).await,
Commands::Repo { action } => remote::repo_cmd(cfg, json, action).await,
Commands::Init { name, private, description } =>
remote::init(cfg, &name, private, &description).await,
Commands::Accounts => remote::accounts(cfg, json),