-
Notifications
You must be signed in to change notification settings - Fork 148
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
Add default frictionless
CLI command
#1095
Comments
@roll if user doesn't mention the action, it will run all three possible actions and show the results? |
@shashigharti
We don't need a new |
@roll resource.schema.fields will not be nested in this usecase? And to flatten json object what do you think of this library https://pypi.org/project/flatten-json/? |
@shashigharti
|
Currently, it doesn't seem to be possible to provide a default command the way we want with Typer - fastapi/typer#18 We will implement a normal command "summary" - |
@shashigharti
# Program
# TODO: remove this hack when Typer supports not-found commands catching
# <link to the typer issue>
class Program(typer.Typer):
def __call__(self, *args, **kwargs):
if sys.argv[1].count("."):
sys.argv = [sys.argv[0], "summary", sys.argv[1]]
return super().__call__(*args, **kwargs)
program = Program() Can you please also create a feature request for Typer? I would say that we'd like to have an ability to catch not found commands or something like this |
Overview
Currently, we have these commands:
frictionless describe
frictionless extract
frictionless validate
frictionless analyze
We'd like to have (note there is no action):
The text was updated successfully, but these errors were encountered: