Skip to content

Commit

Permalink
Refactor to more modules
Browse files Browse the repository at this point in the history
The "app" components are moved to their own `app` module. This makes the
`main.rs` very short and sweet, which leaves plenty of room for writing
application-level documentation in the form of module-level doc comments
to be added without making the file too large.

This also allows the visibility of some modules to be changed to
private, which highlighted some functions, methods, and constants were
unused. This is related to #6 and #7.
  • Loading branch information
volks73 committed Mar 24, 2021
1 parent f0a7c89 commit f607667
Show file tree
Hide file tree
Showing 6 changed files with 487 additions and 482 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ name = "germ"
[dependencies]
anyhow = "1.0"
atty = "0.2"
clap = "2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
shellwords = "1.1.0"
Expand Down
Loading

0 comments on commit f607667

Please sign in to comment.