fix: CLI UX improvements and cleanup #461
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR bundles several small, related improvements focused on CLI usability and code quality. They're grouped together because:
--all-starreddoes not backup anything #225, and Skipping .. since it's not initialized? #73 all address cases where the CLI behaviour is confusing or silent when users expect feedbackCommits
aba048a- fix: warn when --private used without authentication6e2a7e5- fix: --all-starred now clones repos without --repositories58ad1c2- docs: fix RST formatting in Known blocking errors sectionb80049e- test: add missing test coverage for case sensitivity fix1d6d474- fix: improve error messages for inaccessible repos and empty wikisDetails
Issue #72 - Warn when --private used without auth (
aba048a)When users specify
--privatewithout providing authentication (token or username/password), the tool would silently return no private repos. As discussed in #72, the agreed approach was to warn rather than error. Now it warns:Issue #73 - Improve error messages for inaccessible repos (
1d6d474)The "not initialized" message was confusing users. It appeared when:
Now shows clearer messages:
Skipping {repo} wiki (wiki is enabled but has no content)Skipping {repo} (repository not accessible - may be empty, private, or credentials invalid)Issue #225 - --all-starred now clones repos (
6e2a7e5)Previously,
--all-starredonly retrieved the list of starred repos but wouldn't clone them unless--repositoriesor--allwas also specified. Users expected--all-starredalone to clone their starred repos.As noted in #225, this was identified as "an easy change" - now
--all-starredwill clone starred repositories without needing additional flags.RST formatting fix (
58ad1c2)Fixed the "Known blocking errors" section where a single-item numbered list was rendering awkwardly.
Test coverage (
b80049e)Added missing unit tests for the case sensitivity fix (PR #456) and new tests for the
--all-starredbehaviour.