Skip to content

Latest version check, redefine --quiet, new root command#88

Open
brandonc wants to merge 5 commits into
mainfrom
brandonc/extras_and_revisions
Open

Latest version check, redefine --quiet, new root command#88
brandonc wants to merge 5 commits into
mainfrom
brandonc/extras_and_revisions

Conversation

@brandonc

Copy link
Copy Markdown
Collaborator

Description

  • Adds checkpoint for latest version checking/current version alerts
  • Redefines --quiet, --quiet now renders output for api command GET requests

Example Output

tfctl
Screenshot 2026-07-17 at 14 54 10

tfctl --no-color --quiet
Screenshot 2026-07-17 at 16 51 58

PR Checklist

  • Run npx changie new or install changie to prepare a new changelog entry for the next set of release notes.
  • Ensure any command changes are sensitive to these global flags:
    • --json — Force machine readable output to stdout. Does not apply to stderr.
    • --markdown — Force markdown output to stdout. Does not apply to stderr.
    • --dry-run — Don't make any actual writes or other mutations. Describe what would have changed to stderr.
    • --quiet — Don't render output to stdout.
  • Get the logging interface from the context and add debug logging for interesting conditions and nonfatal situations.
  • Run make gen/screenshot if the root command output changes.
  • Add the Autocomplete field to positional arguments and flags to assist shell autocomplete.

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

brandonc added 5 commits July 17, 2026 16:10
I'm level-setting on what it means to use --quiet output, because there are ambiguities in the code. Put simply, it now means that only essential output is rendered. This definition change implies one major meaningful change change: suppressing api command output for non-GET requests.
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