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

Add option --execute to lean research #133

Open
ArthurAsenheimer opened this issue Aug 23, 2022 · 0 comments
Open

Add option --execute to lean research #133

ArthurAsenheimer opened this issue Aug 23, 2022 · 0 comments

Comments

@ArthurAsenheimer
Copy link

ArthurAsenheimer commented Aug 23, 2022

It would be great if we could execute the cells of research.ipynb from the terminal using a command like
lean research <project> --execute.

Note, this feature is already available for Jupyter notebooks. You can run the command
jupyter nbconvert --to notebook --inplace --execute research.ipynb
or alternatively you can use papermill.

But it doesn't work that way in connection with Lean CLI as the notebook is running in a Docker container.

Bonus
Ability to execute cloud research notebooks, i.e. something like
lean cloud research <project> --execute.

Motivation
I use the research environment frequently to create customized reports/charts and this feature would be helpful to automate that process.

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