rustle
rustle copied to clipboard
Implement a CLI
I think a simple CLI is the last piece missing before doing a prerelease. I think it should just accept a file or a directory and call the rustle::compile_file_to_js
function. For now I think if anything goes wrong it should just panic.
Does anybody want to work on it or has any other suggestions?
How would the CLI behave when a directory is passed instead of a file? split if it should compile every file in the directory or a specific file it looks for.
I think it should look for all files that end in .rustle and compile them to a directory named build
. Maybe make the output directory name configurable?
Is anybody working on this or can I start?
I am currently working on it