Skip to content

fix: align consistent help menus. - #159

Merged
sadsfae merged 1 commit into
quadsproject:developmentfrom
sadsfae:hlp
Jul 17, 2026
Merged

fix: align consistent help menus.#159
sadsfae merged 1 commit into
quadsproject:developmentfrom
sadsfae:hlp

Conversation

@sadsfae

@sadsfae sadsfae commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Fix: Help Menu Inconsistencies (#152)

  • Role-aware help schedule -- admin and SSM users now see only their relevant syntax and options
  • schedule --help now lists all accepted keywords (was showing [options] with no details)
  • Tab completion split by role -- admin gets admin keywords, SSM gets hardware filter keywords
  • --help safety guards on single-argument commands (mark-broken, retire, cloud-create, etc.) to prevent treating "--help" as a hostname
  • Fixed misleading docstrings: cloud_list no longer says "(admin only)", connect now documents session/number syntax
  • Moved cloud_only from admin-only to all authenticated users
  • Added os to mod_cloud tab completion
  • Added missing tab completions for 7 commands (cloud-only, move-status, track, session, session-switch, session-close, session-create)

* Fix inconsistencies in help or ? menus
* Ensure help commands filtered by user role (admin vs. non-admin)

Fixes: quadsproject#152
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 11.90476% with 111 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/quads_client/shell.py 6.72% 111 Missing ⚠️
Flag Coverage Δ
unittests 78.03% <11.90%> (-2.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/quads_client/commands/cloud.py 61.16% <100.00%> (ø)
src/quads_client/commands/host.py 72.89% <100.00%> (ø)
src/quads_client/commands/server.py 77.89% <ø> (ø)
src/quads_client/commands/session.py 96.17% <100.00%> (ø)
src/quads_client/shell.py 37.32% <6.72%> (-5.88%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sadsfae
sadsfae merged commit abfd328 into quadsproject:development Jul 17, 2026
4 of 5 checks passed
@sadsfae
sadsfae deleted the hlp branch July 17, 2026 07:02
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