Skip to content

fix: harden CLI argument parsing - #5

Merged
Ruraam merged 2 commits into
mainfrom
fix/strict-cli-arguments
Nov 12, 2026
Merged

Ruraam merged 2 commits into
mainfrom
fix/strict-cli-arguments

Conversation

@Ruraam

@Ruraam Ruraam commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • reject multiple positional targets for add and remove
  • reject unknown options for add and upgrade
  • require exactly one package argument for pin and unpin

Scope

CLI parsing hardening only. No changes to APT transaction logic, package validation, or release workflows.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: badb85d5-580f-4530-958e-5435c1062bd2
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Ruraam
Ruraam merged commit b96360b into main Nov 12, 2026
10 checks passed
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