mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #101] [MERGED] Auth helper and UX/UI restructure (subcommands instead of flags) #110
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#110
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/101
Author: @Glitchy-Sheep
Created: 4/12/2026
Status: ✅ Merged
Merged: 4/12/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:feat/refactor-commands-structure📝 Commits (3)
5abeac6Add auth helper script asshow-auth-scriptsubcommand729f7a7Split CLI into subcommands with per-command modulesdeac5ebFix ci for CHANGELOG.md checks and update README.md📊 Changes
18 files changed (+747 additions, -324 deletions)
View changed files
📝
.github/workflows/ci.yaml(+4 -3)📝
CHANGELOG.md(+3 -0)📝
Makefile(+4 -0)📝
README.md(+14 -2)📝
boosty_downloader/main.py(+22 -296)📝
boosty_downloader/src/application/di/app_environment.py(+1 -1)➕
boosty_downloader/src/application/di/initialized_app.py(+100 -0)➕
boosty_downloader/src/cli/boosty_token_viewer.py(+144 -0)📝
boosty_downloader/src/cli/cli_options.py(+0 -20)➕
boosty_downloader/src/cli/commands/__init__.py(+0 -0)➕
boosty_downloader/src/cli/commands/check.py(+69 -0)➕
boosty_downloader/src/cli/commands/clean_cache.py(+64 -0)➕
boosty_downloader/src/cli/commands/download.py(+189 -0)➕
boosty_downloader/src/cli/commands/show_auth_script.py(+22 -0)📝
poetry.lock(+13 -1)📝
pyproject.toml(+1 -0)📝
ruff.toml(+11 -1)➕
scripts/build_install.py(+86 -0)📄 Description
📝 Summary
New
show-auth-scriptsubcommand that outputs a JS snippet for extracting Boosty auth credentials from the browser console. Copies to clipboard automatically via pyperclip.CLI restructured into subcommands:
download,check,clean-cache,show-auth-script- each in its own module undercli/commands/. This is a breaking change:Why this is better: the flow of each command is independent and clean, and the user is focused on the task instead of combination of flags.
main.pyreduced from ~380 to ~80 lines. Initialization logic extracted toapplication/di/initialized_app.py.clean-cacheworks directly with SQLitePostCache without creating an HTTP session.Added
make build-installfor quick global install testing.🎯 Related Issue
✅ Checklist
make test)make ci-check)## Unreleasedsection in CHANGELOG.md describing the change (or addedci/skip-changeloglabel if not user-facing)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.