Skip to content

Add welcome message#13

Merged
ndenny merged 4 commits into
developfrom
add-welcome-message
Jun 15, 2026
Merged

Add welcome message#13
ndenny merged 4 commits into
developfrom
add-welcome-message

Conversation

@ndenny

@ndenny ndenny commented Jun 11, 2026

Copy link
Copy Markdown
Member
➜ ./apimetrics               

    _   ___ ___           _       _
   /_\ | _ \_ _|_ __  ___| |_ _ _(_)__ ___
  / _ \|  _/| || '  \/ -_|  _| '_| / _(_-<
 /_/ \_\_| |___|_|_|_\___|\__|_| |_\__/__/

Welcome to APImetrics CLI!

To log in, open the following URL in your browser:

  https://qc-auth.apimetrics.io/authorize?audience=https%3A%2F%2Fclient.apimetrics.io&client_id=bj0yh0AjBMzfeOpffmCj5UP8FbmYDwcM&code_challenge=aJq93lfjcAvcG3jqquqSc2W8GSM1PRVj-vt8GDRQ0Vo&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A8484&response_type=code&scope=openid+profile+email

Open your browser now? [Y/n]: 

ndenny and others added 3 commits June 11, 2026 16:46
The welcome banner string already ends with a newline, so Fprintln
appended a redundant one. Switch to Fprint to satisfy go vet.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ndenny ndenny enabled auto-merge June 12, 2026 22:01
The [Y/n] prompt read from stdin but only checked that stderr was a
terminal. If a request body was piped into stdin while stderr was a
TTY, the prompt would consume its first line. Check stdin instead,
matching the manual-code path that protects piped input.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ndenny ndenny merged commit 20e3e93 into develop Jun 15, 2026
1 check passed
@ndenny ndenny deleted the add-welcome-message branch June 15, 2026 09:07
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.

2 participants