Skip to content

Comments

feat: add APT purge support via CustomCommandArgs#5

Open
brunodam wants to merge 1 commit intomainfrom
00001-apt-purge-support
Open

feat: add APT purge support via CustomCommandArgs#5
brunodam wants to merge 1 commit intomainfrom
00001-apt-purge-support

Conversation

@brunodam
Copy link
Owner

Adds support to invoke Delete() with purge.

Closes #1

@brunodam brunodam force-pushed the 00001-apt-purge-support branch 4 times, most recently from 86de072 to 86cf5df Compare September 25, 2025 20:45
- Add isPurgeRequested function to check for --purge flag in CustomCommandArgs
- Modify Delete method to conditionally add --purge flag when requested
- Add comprehensive tests for both with and without purge scenarios
- Maintain backward compatibility by keeping --purge optional

Signed-off-by: Bruno De Assis Marques <bruno.marques@swirldslabs.com>
@brunodam brunodam force-pushed the 00001-apt-purge-support branch from 86cf5df to ab6e690 Compare September 25, 2025 21:54
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.

apt.Delete() ignores --purge (ArgsPurge)

1 participant