Skip to content

feat: replace flat config/profile flags with subcommands (v0.3.3)#9

Merged
masonlet merged 4 commits into
mainfrom
feat/subcommands
Jun 27, 2026
Merged

feat: replace flat config/profile flags with subcommands (v0.3.3)#9
masonlet merged 4 commits into
mainfrom
feat/subcommands

Conversation

@masonlet

Copy link
Copy Markdown
Member

Replaces --init-config, --config-add, --config-remove, --list-configs, --profile-add, --profile-remove, --list-profiles flat flags with clap subcommands.

New syntax:
star-setup config init
star-setup config add [FLAGS]
star-setup config remove
star-setup config list
star-setup profile add ...
star-setup profile remove
star-setup profile list

  • ConfigEntry::from_flags() added for subcommand dispatch path
  • ConfigFlags and ProfileFlags removed from Args and ResolvedArgs
  • handle_early_commands() removed; replaced with pattern match on raw.command
  • ConfigEntry::from_flags and From<&ResolvedArgs> tests added

@masonlet masonlet merged commit c5d6512 into main Jun 27, 2026
10 checks passed
@masonlet masonlet deleted the feat/subcommands branch June 27, 2026 00:34
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