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:
1 parent
0468c032c6
commit
f1432d1cd3
15 files changed
+506
-7
No files matched your search
@@ -185,6 +185,7 @@ pub fn render_activity_global(f: &mut Frame, state: &HubState, area: Rect) {
|
||||
crate::activity::ActivityKind::Todo => Style::default().fg(Color::Yellow),
|
||||
crate::activity::ActivityKind::Pr => Style::default().fg(Color::Cyan),
|
||||
crate::activity::ActivityKind::Issue => Style::default().fg(Color::Yellow),
|
||||
crate::activity::ActivityKind::License => Style::default().fg(Color::Magenta),
|
||||
};
|
||||
let detail = e.detail.chars().take(detail_w).collect::<String>();
|
||||
Row::new(vec![
|
||||
|
||||
Reference in new issue
Block a user