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

Feature Request: infer target format by extension if --to option is omitted #2174

Open
romeokienzler opened this issue Aug 30, 2024 · 0 comments

Comments

@romeokienzler
Copy link

I'm running the following command:
jupyter nbconvert WFMTutorial.ipynb WFMTutorial.py

As expected, this is the error message:

`The following formats are available: ['asciidoc', 'custom', 'html', 'latex', 'markdown', 'notebook', 'pdf', 'python', 'qtpdf', 'qtpng', 'rst', 'script', 'slides', 'webpdf']

It would be nice of in the above case semantically the following command would be inferred:

jupyter nbconvert WFMTutorial.ipynb --to script

I think it would work for most of the formats
`

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

No branches or pull requests

1 participant