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 a command line script for rendering templates. #32

Open
hodgestar opened this issue Nov 4, 2020 · 0 comments
Open

Add a command line script for rendering templates. #32

hodgestar opened this issue Nov 4, 2020 · 0 comments

Comments

@hodgestar
Copy link
Contributor

There was a request for a command line script for rendering templates that was filed on the Debian package -- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527236.

The documentation for the kid script mentioned in the bug report is:

Usage: kid [options] file [args]
Expand a Kid template file.

OPTIONS:

  -e enc, --encoding=enc
          Specify the output character encoding.
          Default: utf-8
  -o outfile, --output=outfile
          Specify the output file.
          Default: standard output
  -s host:port, --server=host:port
          Specify the server address if
          you want to start the HTTP server.
          Instead of the Kid template,
          you can specify a base directory.
  -h, --help
          Print this help message and exit.
  -V, --version
          Print the Kid version number and exit.

file:
  filename of the Kid template to be processed
  or "-" for reading the template from stdin.

args:
  key=value or other arguments passed to the template.

This isn't high priority, but also isn't hard to implement.

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