-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Low setup usage #133
Comments
yep, can easily do that. The reason why it hasn't been done is missing actual use case. |
This adds the ability to use moban in an ad-hoc manner without a config file, like `moban foo.jj2`. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file, like `moban foo.jj2`. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file, like `moban foo.jj2`. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
This adds the ability to use moban in an ad-hoc manner without a config file. This also adds environment variables as a fallback data source if the default/specified data files do not exist. Closes moremoban#133
@jayvdb @CLiu13 , previously I suggested to inject env to globals. Now, I got another suggestion: Referencing https://github.com/andreasjansson/envtpl/blob/master/README.md, I think we could do a bit better in the following way:
for example, scenario 1: env var:
test.jj2: moban -t test.jj2 shall simply get TEST scenario 2: env var:
data.yml HELLO: world test.jj2: moban -t test.jj2 shall simply get world
and get |
hmm.. after checking the implementation, item 1 is there :) |
Some alternatives to moban have simplicity on their side.
It should be possible for moban to be easily used in an ad-hoc manner without a config file , like
moban foo.jj2
to generatefoo
using environment variables.c.f. https://github.com/andreasjansson/envtpl/blob/master/README.md
Or if there is a config file,
moban foo.jj2
would load it and generatefoo
or the target listed in the config if it is present there.The text was updated successfully, but these errors were encountered: