1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! [tweetr](https://github.com/nabijaczleweli/tweetr) is a platform that allows you to create and queue tweets to be
//! shared when YOU want. You create content when you have time and then use FOSS and NOT pay whatever-ridiculous amount of $$$
//! for posting them automatically.
//!
//! IOW it's self-hosted automatic tweet posting software.
//!
//! # Library doc
//!
//! This library is used by `tweetr` itself for all its function and is therefore contains all necessary functions.
//!
//! ## Data flow
//!
//! See documentation for `ops::*` submodules as each one has a distinct data flow.
//!
//! # Executable doc
//!
//! Exit values and possible errors:
//!
//! ```plaintext
//! 1 - a file would need to be overriden, but was not allowed to
//! 2 - required data or file needs to be created by running the specified filesysstem
//! 3 - an error was returned by the Twitter API
//! 4 - failed to parse the specified file
//! ```
//!
//! ## Executable manpage
//!
//! [All manpages](https://rawcdn.githack.com/nabijaczleweli/tweetr/man/index.html)


extern crate rustc_serialize;
#[macro_use]
extern crate lazy_static;
extern crate egg_mode;
extern crate chrono;
extern crate regex;
#[macro_use]
extern crate clap;
extern crate toml;

mod outcome;

pub mod ops;
pub mod util;
pub mod options;

pub use outcome::Outcome;