summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index fb8f16c..7a9e009 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,5 @@
mod data;
mod schema;
-mod sync;
mod validate;
mod static_api;
@@ -14,8 +13,6 @@ use structopt::StructOpt;
enum Cli {
#[structopt(name = "check", help = "check if the configuration is correct")]
Check,
- #[structopt(name = "sync", help = "synchronize the configuration")]
- Sync,
#[structopt(name = "static-api", help = "generate the static API")]
StaticApi { dest: String },
#[structopt(name = "dump-team", help = "print the members of a team")]
@@ -42,9 +39,6 @@ fn run() -> Result<(), Error> {
Cli::Check => {
crate::validate::validate(&data)?;
}
- Cli::Sync => {
- sync::lists::run(&data)?;
- }
Cli::StaticApi { ref dest } => {
let dest = PathBuf::from(dest);
let generator = crate::static_api::Generator::new(&dest, &data)?;