Databind CLI ============ What Can Be Compiled ---------------------- Databind compiles Databind projects (see :ref:`getting_started:Creating a Project`). Databind will look for included files (``**/*.databind`` by default) and leave other files alone. Note that the namespace inference used for ``func`` assumes a proper file structure (``/data//functions`` for functions), but it **does not check if this is the case.** A ``minecraft/tags/functions/`` folder may be generated in an unexpected place if an invalid folder is passed. Using the CLI ------------- .. code-block:: text USAGE: databind [FLAGS] [OPTIONS] databind [FLAGS] [OPTIONS] FLAGS: -h, --help Prints help information --ignore-config Ignore the config file. Used for testing -V, --version Prints version information OPTIONS: -c, --config Configuration for the compiler -o, --out The output file or directory [default: out] ARGS: The Databind project to compile SUBCOMMANDS: create Create a new project help Prints this message or the help of the given subcommand(s) From an Installation ^^^^^^^^^^^^^^^^^^^^ When installed, you can access the CLI by running ``databind`` in any command line. Running ``databind --help`` will output the text above. With ``cargo run`` ^^^^^^^^^^^^^^^^^^ After building Databind yourself, you can use ``cargo run`` to run it. Everything works almost the exact same. You just need to add two dashes (``--``) after ``run`` (eg. ``cargo run -- --help``).