mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #182] [MERGED] [cli] Take the creator name as a positional argument #181
Labels
No labels
api-drift
bug
ci
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Glitchy-Sheep/boosty-downloader#181
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/182
Author: @Glitchy-Sheep
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:feat/positional-username📝 Commits (1)
1c17152feat!: Take the creator name as a positional argument📊 Changes
7 files changed (+31 additions, -18 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
README.md(+1 -1)📝
boosty_downloader/cli/cli_options.py(+5 -5)📝
boosty_downloader/cli/commands/check.py(+2 -2)📝
boosty_downloader/cli/commands/clean_cache.py(+2 -2)📝
boosty_downloader/cli/commands/download.py(+4 -4)📝
test/unit/cli/cli_smoke_test.py(+13 -4)📄 Description
📝 Summary
download,checkandclean-cachecannot do anything without a creator name, so the name is now their first argument instead of a flag:🔧 What changes
UsernameArgumentincli_options.pyreplacesUsernameOption; the three commands read it as a positional parameterChanged, marked BREAKING)⚠️ Breaking change
The
-u/--usernameflag is gone, on purpose and without an alias. Typer answersNo such option: -ufor the old form andMissing argument 'USERNAME'when the name is missing, both with exit code 2, so scripts fail loudly rather than silently doing something else.show-auth-scripttakes no name and is untouched.🧪 Tests
USERNAME); the old-uflag is rejectedcheck <username>,download <username> --dry-run -f files,check -u <username>(rejected),check(missing argument),download --help✅ Checklist
--helpand README if neededdocs/if the download flow or dev process changed## Unreleasedin CHANGELOG.md (or theci/skip-changeloglabel if not user-facing)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.