Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add --quiet flag to coder ssh command#18883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
blink-so wants to merge4 commits intomain
base:main
Choose a base branch
Loading
fromfeat/ssh-quiet-flag

Conversation

blink-so[bot]
Copy link
Contributor

Adds a--quiet (-q) flag to suppress machine setup logs and connection indicators when connecting to workspaces via SSH.

Changes

  • AddQuiet field toAgentOptions struct incli/cliui/agent.go
  • ModifyAgent() function to skip all logging when quiet mode is enabled
  • Add--quiet flag with-q shorthand to SSH command
  • SupportCODER_SSH_QUIET environment variable

Usage

coder ssh myworkspace --quietcoder ssh myworkspace -qCODER_SSH_QUIET=true coder ssh myworkspace

Testing

  • Existing tests pass
  • Flag appears correctly incoder ssh --help
  • Implementation tested with cliui agent tests

blink-sobotand others added4 commitsJuly 15, 2025 18:28
Adds a --quiet (-q) flag to suppress machine setup logs and connectionindicators when connecting to workspaces via SSH. This provides a cleanerSSH experience for users who don't want to see the startup logs.Changes:- Add Quiet field to AgentOptions struct- Modify Agent() function to skip logging in quiet mode- Add --quiet flag with -q shorthand to SSH command- Support CODER_SSH_QUIET environment variableCo-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
Fix Go formatting for the quiet flag to match existing code style.Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
Generate updated CLI documentation that includes the new --quiet flagfor the SSH command.Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
Run markdownlint and markdown-table-formatter to fix formattingissues in the generated CLI documentation.Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp