Reference atmn login instead of atmn auth #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Updated the missing API key error to reference "atmn login" instead of "atmn auth" to match the current CLI command and reduce confusion. Also removed invalid "hour" and "day" reset intervals from plan validation.
Written for commit fdc9640. Summary will update on new commits.
Greptile Overview
Greptile Summary
Corrected error message to reference the correct CLI authentication command
atmn logininstead of the non-existentatmn authcommand, ensuring consistency with the rest of the codebase.Key Changes:
Confidence Score: 5/5
Important Files Changed
atmn logininstead of non-existentatmn authSequence Diagram
sequenceDiagram participant User participant Application participant KeyManager participant EnvReader User->>Application: Request operation Application->>KeyManager: getKey(environment) KeyManager->>EnvReader: readApiKeys() EnvReader-->>KeyManager: Return available keys KeyManager->>KeyManager: Validate key exists alt Key not found KeyManager-->>Application: Throw authentication error Application-->>User: Show error with login command Note over User: Runs atmn login else Key exists KeyManager-->>Application: Return valid key Application->>Application: Process request end(2/5) Greptile learns from your feedback when you react with thumbs up/down!