Skip to content

Allow --no-pager flag for all systemctl subcommands#100

Merged
jonchun merged 2 commits intomainfrom
feat/systemctl-no-pager
Mar 6, 2026
Merged

Allow --no-pager flag for all systemctl subcommands#100
jonchun merged 2 commits intomainfrom
feat/systemctl-no-pager

Conversation

@jonchun
Copy link
Copy Markdown
Collaborator

@jonchun jonchun commented Mar 6, 2026

Summary

  • Add --no-pager flag to systemctl_list-units, systemctl_show, systemctl_is-active, and systemctl_is-enabled manifests
  • Previously only systemctl_status allowed --no-pager, causing validation errors for other subcommands

Test plan

  • Verify systemctl list-units --no-pager passes validation
  • Verify systemctl show --no-pager passes validation
  • Verify systemctl is-active --no-pager passes validation
  • Verify systemctl is-enabled --no-pager passes validation

🤖 Generated with Claude Code

jonchun and others added 2 commits March 5, 2026 20:27
Return bare hostname as `key` in connect response so fawdy2 uses it
for subsequent command lookups, instead of constructing user@host:port
which doesn't match Go's internal connection map.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
The --no-pager flag is a global systemctl option useful in non-interactive
contexts. It was only allowed for systemctl_status but rejected for
list-units, show, is-active, and is-enabled.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@jonchun jonchun merged commit fe4353e into main Mar 6, 2026
2 checks passed
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