summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-21 07:35:59 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-21 07:50:35 +0300
commit280d07974831ae52d3810d42c23771adf5a1e7d0 (patch)
tree500764237cc3afe62de572d6455d4cdd68130039 /src/lib.rs
parent438c1afb936f0e1e646ff41157fd0494a4312b9e (diff)
downloadjt2-280d07974831ae52d3810d42c23771adf5a1e7d0.tar.gz
refactor: move subcommand implementations into src/cmd.rs
The command line interface definition (for structopt) and implementation are now both in src/cmd.rs. This seems tidier than having them split between src/opt.rs and src/bin/jt2.rs.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d9b0801..a634111 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,4 @@
+pub mod cmd;
pub mod config;
pub mod error;
pub mod journal;