aboutsummaryrefslogtreecommitdiff
path: root/commands/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-10-02 01:27:08 -0700
committeriximeow <me@iximeow.net>2017-10-02 01:27:18 -0700
commit781981f333345482e93ed35453e98e519bb7cc5e (patch)
tree08cfbcc32b9fbea5f13fd3447026090f51402274 /commands/mod.rs
parent081c0732b87383e3876fd6c60417f15830554174 (diff)
move everything to src/
Diffstat (limited to 'commands/mod.rs')
-rw-r--r--commands/mod.rs46
1 files changed, 0 insertions, 46 deletions
diff --git a/commands/mod.rs b/commands/mod.rs
deleted file mode 100644
index fc66bec..0000000
--- a/commands/mod.rs
+++ /dev/null
@@ -1,46 +0,0 @@
-use tw;
-use ::Queryer;
-
-pub struct Command {
- pub keyword: &'static str,
- pub params: u8,
- pub exec: fn(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer)
-}
-
-mod show_cache;
-mod twete;
-mod look_up;
-mod view;
-mod quit;
-mod fav;
-
-pub static COMMANDS: &[&Command] = &[
- &show_cache::SHOW_CACHE,
- &quit::QUIT,
- &look_up::LOOK_UP_USER,
- &look_up::LOOK_UP_TWEET,
- &view::VIEW,
- &fav::UNFAV,
- &fav::FAV,
- &twete::DEL,
- &twete::TWETE,
- &twete::QUOTE,
- &twete::RETWETE,
- &twete::REP,
- &twete::THREAD
- /*
- &QUIT,
- &LOOK_UP_USER,
- &LOOK_UP_TWEET,
- &VIEW,
- &UNFAV,
- &FAV,
- &DEL,
- &TWETE,
- &QUOTE,
- &RETWETE,
- &REP,
- &THREAD
- ];
- */
-];