Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

adding extra_args for command line #3

Closed
wants to merge 1 commit into from
Closed

adding extra_args for command line #3

wants to merge 1 commit into from

Conversation

minid33
Copy link

@minid33 minid33 commented May 18, 2015

This is a simple and (maybe too) crude attempt to make arbitrary command line arguments.

Using an 'eval''d python dictionary we can pass key, values directly to the jinja template.

If you'd like this as it is feel free to accept the contribution :)

@kolypto
Copy link
Owner

kolypto commented Dec 14, 2018

@minid33 , sorry for the delayed response. I do really believe that feeding data like this is an antipattern: it just won't look pretty. But thanks for the idea, because...

here's the new feature: --import-env=name that will import all environment variables into the template under the name dict. Hope this helps!

@kolypto kolypto closed this Dec 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants