Skip to content

Medium: Add --exclude flag to skip specific package managers #6

@jstreitb

Description

@jstreitb

Problem: Sometimes users want to run baa but skip a specific manager (e.g., "Update everything except Flatpak because it's too slow right now").

Solution: Add a --exclude (shorthand -e) flag that takes a comma-separated list of managers to skip.

Example:
baa --exclude flatpak,snap

Tasks:

  • Handle the flag parsing in main.go.
  • Filter the detected providers list before the update loop starts.
  • Show a small note in the UI: "Skipping: flatpak, snap".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions