module_generator 0.2.1

A small Rust development tool, to make a modules and submodules and to write the dependencies in the main rust file.
1
2
3
4
5
6
7
8
9
10
11
12
# module_generator

Cli-tool written in Rust. It is used to create rust modules and to eventually populate these with submodules in a folder. There is also the option to write the dependency in the main rust file. To use it you will have to be in a cargo directory before using the program.

## Example

This is a complete example where I make a module named `models` and it has the submodules `page` and `person` in it. I also set the flag to write the usages in the main rust file, the flag is **optional**.

```rust
cd **cargo_directory**
cargo run "models:page,person" -W
```