Me again! With another update! Woot! Now mform has been restructured a bit!
Usage: mform [options] [command]
A MUSHcode pre-processor.
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
run|r <path> run a Project or file.
init|i <project> Initialize a new MUSHCode project.
help [command] display help for command
to run an archive into a file you would use something like mform run input.mush -o output.mush. Want to start a project that's ready for GitHub really quick? mform init has you covered!
mform init <path> Will take you through a series of questions, while mform init -y <path> generates a new project in the given folder with some default values! It will create the folder if it doesn't exist!
mform honors relative paths, so mform ~/path/to/project works, or within your code you can link your includes like #include ./stuff/archive.mush
Feel free to give it a whirl! If you have Node installed on your system, npm i -g @digibear/mush-format Then mfom!
Thanks for reading!