Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: exercise limits for read session #27

Merged
merged 7 commits into from
Nov 20, 2024
Merged

Conversation

infiniteregrets
Copy link
Member

No description provided.

@infiniteregrets infiniteregrets requested a review from a team as a code owner November 20, 2024 04:04
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated
@@ -224,9 +225,11 @@ enum StreamActions {
output: Option<RecordsOut>,

/// Limit the number of records returned.
#[arg(long)]
Copy link
Member

@shikhar shikhar Nov 20, 2024

Choose a reason for hiding this comment

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

can we have -n for this as well?

src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
@shikhar
Copy link
Member

shikhar commented Nov 20, 2024

Nit: Can you make sure the char short is consistently explicit?

@infiniteregrets
Copy link
Member Author

Nit: Can you make sure the char short is consistently explicit?

oh is it because clap might panic if it automatically assigns the name? i.e. two commands having the same short arg

@infiniteregrets
Copy link
Member Author

@shikhar just making short args explicit for Stream, ill tic for revisiting the rest

@shikhar
Copy link
Member

shikhar commented Nov 20, 2024

oh is it because clap might panic if it automatically assigns the name? i.e. two commands having the same short arg

IMO just helps a bit to make sure we have the ergonomics in mind when adding args

@infiniteregrets infiniteregrets merged commit e260538 into main Nov 20, 2024
2 checks passed
@infiniteregrets infiniteregrets deleted the read-improvements branch November 20, 2024 16:13
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