summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-01-19 16:22:59 +0100
committerPietro Albini <pietro@pietroalbini.org>2019-01-19 19:45:41 +0100
commit683a718199b61f2be24f408df2203e51abf1ec7f (patch)
treee1136892cc57dfeda0884b440505e598e90e9a69 /src
parenta150b5bc6e3144ea21f2a10a6705a0437621a5cd (diff)
remove tmp command
Diffstat (limited to 'src')
-rw-r--r--src/main.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main.rs b/src/main.rs
index 7ae31a8..540c038 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -18,8 +18,6 @@ enum Cli {
DumpTeam { name: String },
#[structopt(name = "dump-list", help = "print all the emails in a list")]
DumpList { name: String },
- #[structopt(name = "foo")]
- Tmp,
}
fn main() {
@@ -65,13 +63,6 @@ fn run() -> Result<(), Error> {
println!("{}", email);
}
}
- Cli::Tmp => {
- for list in data.lists()?.values() {
- for member in list.emails() {
- println!("{} {} {}", list.address(), list.access_level_str(), member);
- }
- }
- }
}
Ok(())