vmware / vmware/pinniped

Warnings on the CLI should have a newline in front of them

Open
#971 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority/undecided
Dominant language
Go
Stars
739
Forks
85
Avg merge
5d 5h
Merged PRs (30d)
1

Description

In v0.13.0+, the access token length warning is on the same line as the previous command:

Optionally, paste your authorization code: Warning: Access token from identity provider has lifetime of less than 3 hours. Expect frequent prompts to log in.

It should look like two lines, e.g.

Optionally, paste your authorization code: 
Warning: Access token from identity provider has lifetime of less than 3 hours. Expect frequent prompts to log in.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the CLI code for the exact access-token warning text and reproduce the output shown in the issue. Ensure the warning starts on a new line after the authorization-code prompt, then run the relevant CLI tests or command and confirm the output matches the two-line example.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.