Crates.io | megumax |
lib.rs | megumax |
version | 0.3.0 |
source | src |
created_at | 2020-06-24 06:25:55.330406 |
updated_at | 2020-10-04 09:42:10.230134 |
description | Simple CLI tool for search-and-replace across the entire project |
homepage | |
repository | https://github.com/oOBoomberOo/megumax |
max_upload_size | |
id | 257478 |
size | 80,346 |
Megumax is a simple templating CLI originally made for developing minecraft datapack but the program should work anywhere else as well.
cargo install megumax
(make sure you've restart your terminal first)megu.toml
file.megu
command inside the directory megu.toml
file is in./usr/bin/
and set its execution permission.$PATH
registry.Megumax work via a config file called megu.toml
which look something like this:
[build]
output = "path/to/output/directory"
src = "path/to/src/directory"
[keys]
foo = "Kore wa requiem da"
bar = "42"
[template]
color = ["red", "orange", "yellow"]
And then you can run the program inside the directory this config file is in with megu
command. (No need for any argument)
For more information, check out examples/
directory.
When working with custom model data you need to specify an integer value for each model in your resourcepack. This can become unmaintainable when working with models up to 100+. Megumax would help this by allowing you to specify a string value for each model instead and then compile it back into integers when needed.
There's probably already existing tool for this but why waste time googling for 3 seconds when you can spend your afternoon developing this instead? /s