translucent-builderΒΆ

The builder also provides a simple CLI utility called translucent-builder to run the builder:

usage: translucent-builder [-h] [-d] [-b BUILD_DIR] [-c COMPONENTS_DIR] [-t TEMPLATES_DIR] [-r]
                           {build,watch}

Components Builder.

positional arguments:
  {build,watch}                                       the action (build once or watch for changes)

optional arguments:
  -h, --help                                          show this help message and exit
  -d, --debug                                         enable debug logging mode
  -b BUILD_DIR, --build-dir BUILD_DIR                 the path to the build directory
  -c COMPONENTS_DIR, --components-dir COMPONENTS_DIR  the path to the components directory
  -t TEMPLATES_DIR, --templates-dir TEMPLATES_DIR     the path to the templates directory
  -r, --remove                                        remove existing build directory before build

To build the library, you can simply run this command:

translucent-builder build

If you want the builder to watch the templates & components directory and automatically build the library on changes, you can use the watchdog:

translucent-builder watch