-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I thought I'd try this out when writing a toy static analyser. Although I've got it hooked into my build.rs, it'd be nice if the tango command were a bit more powerful and gave you more control over what happens.
Some possible subcommands:
tango build- generates the Rust code oncetango clean- removes generated filestango watch- watches thesrc/directory for changes (probably using watchexec) and automatically regenerates the Rust code and compiles it for you
It might be useful to have a configuration file (i.e. tango.toml) that:
- lets you specify all source will be in markdown
- the destination for the generated code (e.g.
target/tango/) so yoursrc/directory doesn't end up with loads of double-ups - A header to add to each generated file (i.e. "generated by tango, do not edit") if we're in markdown-only mode.
If I have time I'll see if I can make a couple PRs to give the CLI tool more features and options. What are your thoughts?
Great project by the way, I really like the idea and how you've implemented it!
Metadata
Metadata
Assignees
Labels
No labels