feat(lab): add lab user subcommand wiring lab::user::* to CLI #246
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_skills!246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_lab_user_cli"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New top-level subcommand (Linux only) mirrors lab::user library API
with 7 verbs following the existing
lab repo/lab secretsstyle:lab user create [--memory --cpu --sudo --ssh-pub --forge-token --reset]
lab user delete
lab user reset
lab user info # bridge + limits in one block
lab user list
lab user limit [--memory SIZE|max] [--cpu QUOTA|max]
lab user host-install
The User variant of TopCmd and the cmd_user dispatcher are gated with
#[cfg(target_os = "linux")]so macOS builds remain clean —lab usersimply doesn't appear in
--helpon non-Linux hosts (matching howlab::user is itself a Linux-only module).
Also re-exports
print_user_infoandprint_user_listfrom theinspection submodule so cmd_user can render the info/list verbs without
reaching into private paths. Cargo.lock refresh picks up the now-correct
source = "git+..."line for herolib_ai (fix-up of the prior committhat switched Cargo.toml from path= to git=).
CPU caps stay opt-in. The library's "§40: stubbed — use sparingly"
warning at limits.rs:213 still fires every time --cpu is used; no
policy change.
lab usersubcommand wiring lab::user::* to CLI