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

Expand templates in destination, commands #9

Open
bollwyvl opened this issue Dec 18, 2019 · 0 comments
Open

Expand templates in destination, commands #9

bollwyvl opened this issue Dec 18, 2019 · 0 comments

Comments

@bollwyvl
Copy link
Contributor

Elevator Pitch

Currently, only the dest field has Jinja templates enabled, and can only see the body of text. Expanding what is available for templating, and what is templated, would allow JSON-only definitions to have more expressive power

Motivation

Over on robotlab, we want to do a simple copy of a folder, and then open a particular, known notebook.

Design Ideas

StarterManager:
  extra_starters:
    robotkernel-examples:
      src: {{ sys_prefix }}/var/www/robotkernel-examples
      commands:
        - id: filebrowser:open-path
          args:
            path: {{ dest }}/00 JupyterLab Interface.ipynb

The simplest approach may be to dump to JSON, apply Jinja, and then reload

@bollwyvl bollwyvl mentioned this issue Dec 18, 2019
4 tasks
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