Skip to content

Jinja meets metaprogramming, dasel, CI and repositories.

License

Notifications You must be signed in to change notification settings

zakstucke/zetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zetch

License Documentation

In-place, continuous templater.

PyPI Status Python Version

You can install Zetch via pip from PyPI:

pip install zetch

Binaries are available for:

  • Linux: x86_64, aarch64, i686, armv7, ppc64le, s390x, musl-x86_64 & musl-aarch64
  • MacOS: x86_64, aarch64
  • Windows: x86_64, aarch64, i686

If your platform isn't supported, file an issue.

zetch: In-place, continuous templater.

Usage: zetch [OPTIONS] <COMMAND>

Commands:
  render           Render all templates found whilst traversing the given root (default)
  var              Read a finalised context variable from the config file
  read             Read sections of json/toml/yaml/yml files various file types from the command line, outputting in json
  put              Put/modify sections of json/toml/yaml/yml files, preserving comments and existing formatting where possible
  del              Delete sections of json/toml/yaml/yml files, preserving comments and existing formatting where possible
  init             Initialize the config file in the current directory
  replace-matcher  Replace a template matcher with another, e.g. zetch -> zet
  version          Display zetch's version
  help             Print this message or the help of the given subcommand(s)

Options:
  -c, --config <CONFIG>  The config file to use. [default: ./zetch.config.toml]
  -h, --help             Print help
  -V, --version          Print version

Log levels:
  -v, --verbose  Enable verbose logging
  -s, --silent   Print diagnostics, but nothing else. Disable all logging (but still exit with status code "1" upon detecting diagnostics)

For help with a specific command, see: `zetch help <command>`.

Usage

Please see the documentation for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Zetch is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

About

Jinja meets metaprogramming, dasel, CI and repositories.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published