question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to pass dialect parameters via CLI commands

See original GitHub issue

Overview

Is it possible to provide dialect options via command line?

For example:

frictionless extract --sheet Sheet2 data.ods

I see, that ODS dialect does support sheet parameter, but could not find how to pass it via command line.


Please preserve this line to notify @roll (lead of this repository)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rollcommented, Mar 21, 2022

Hi @aivuk,

can you please take a look if we can finish this one?

1reaction
rollcommented, Jun 16, 2021

There might be a way to get the attributes from an object (e.g. Dialect) with dir() or something else, but then turning the attributes into meaningful options, integrating them with the CLI library dynamically, and making sure they don’t clash would be a bit more involved.

Good idea. Although we might then need to filter data types not possible to stringify (like HTTP Request class plugins.remote.RemoteControl) and friend it with Typer commands. Also, loading all of them before the CLI run might slightly slower the program. I think it makes sense to start from the more simple version and then try to prototype this more sophisticated one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command line arguments in C/C++ - GeeksforGeeks
To pass command line arguments, we typically define main() with two arguments : first argument is the number of command line arguments and ......
Read more >
What is a command-line interface (CLI)? - TechTarget
Scripting capability enables users to write programs that can be run on the system from the command line. · System variables can be...
Read more >
Accepting Command Line Arguments
The first task is to make minigrep accept its two command line arguments: the filename and a string to search for. That is,...
Read more >
cli: Simple Command Line Interfaces - Racket Documentation
A language for writing command line interfaces that aims to be simple, composable, and robust. You can use it to write standalone scripts,...
Read more >
Python Command Line Arguments
The complexity of the command line ranges from the ability to pass a single argument, to numerous arguments and options, much like a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found