1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
use structopt::StructOpt;

#[macro_use]
mod error;

mod api;
mod cli;
mod client;
mod crawler;
mod find;
pub mod model;
mod opml;
mod remote;
mod state;
mod utils;

pub async fn cli() -> anyhow::Result<()> {
    cli::Options::from_args().run().await
}