Skip to content

chore: CLI help message explains include flags#4431

Merged
Rockyy174 merged 1 commit into
operately:mainfrom
Rockyy174:explain-include-flags
May 6, 2026
Merged

chore: CLI help message explains include flags#4431
Rockyy174 merged 1 commit into
operately:mainfrom
Rockyy174:explain-include-flags

Conversation

@Rockyy174
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The logic that detects include flags is hard-coded to names starting with include_; consider centralizing this convention (e.g., a helper or shared predicate) so that future endpoints or naming changes don't silently break the include guidance.
  • In printEndpointHelp, the line " This does not mean the data does not exist; it simply was not preloaded.\n" introduces an embedded newline unlike the surrounding lines; removing the \n and relying on the join("\n") behavior would keep formatting consistent and avoid unexpected extra blank lines.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The logic that detects include flags is hard-coded to names starting with `include_`; consider centralizing this convention (e.g., a helper or shared predicate) so that future endpoints or naming changes don't silently break the include guidance.
- In `printEndpointHelp`, the line `"  This does not mean the data does not exist; it simply was not preloaded.\n"` introduces an embedded newline unlike the surrounding lines; removing the `\n` and relying on the `join("\n")` behavior would keep formatting consistent and avoid unexpected extra blank lines.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Rockyy174 Rockyy174 merged commit d777dba into operately:main May 6, 2026
3 checks passed
@Rockyy174 Rockyy174 deleted the explain-include-flags branch May 6, 2026 16:46
Signed-off-by: Adriano Lazzaretti <lazzaretti136@gmail.com>
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