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

upgrade clap to 4 #304

Merged
merged 1 commit into from
Oct 15, 2023
Merged

upgrade clap to 4 #304

merged 1 commit into from
Oct 15, 2023

Conversation

houqp
Copy link
Member

@houqp houqp commented Oct 14, 2023

No description provided.

@houqp houqp merged commit ea01ffe into roapi:main Oct 15, 2023
8 checks passed
@houqp houqp deleted the qp_clap branch October 15, 2023 04:09
clap::Arg::new("table")
.long_help("Table sources to load. Table option can be provided as optional setting as part of the table URI, for example: `blogs=s3://bucket/key,format=delta`. Set table uri to `stdin` if you want to consume table data from stdin as part of a UNIX pipe. If no table_name is provided, a table name will be derived from the filename in URI.")
.takes_value(true)
.num_args(1)
Copy link

Choose a reason for hiding this comment

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

I'm not sure if this was intended, but this seems to have made the option only usable once - you can't pass --table multiple times for columnq console.TheREADME.mdincludes an example with multiple--table` arguments, and that seems unsupported:

error: the argument '--table <[table_name=]uri[,option_key=option_value]>' cannot be used multiple times

Usage: columnq console [OPTIONS]

For more information, try '--help'.

Copy link

Choose a reason for hiding this comment

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

Yeah, installing 51584dd fixes the issue.

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.

None yet

2 participants