mle 0.28.0

The markup link extractor (mle) extracts links from markup files (Markdown and HTML).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-FileCopyrightText: 2022 - 2023 Robin Vobruba <hoijui.quaero@gmail.com>
// SPDX-FileCopyrightText: 2020 Armin Becher <becherarmin@gmail.com>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

use env_logger::Env;
use mle::BoxResult;
use mle::state::State;

#[tokio::main]
async fn main() -> BoxResult<()> {
    env_logger::Builder::from_env(Env::default().default_filter_or("info")).init();
    let config = mle::cli::parse_args().await?;
    let mut state = State::new(config);
    log::debug!("Config: {:?}", &state.config);
    mle::run(&mut state).await
}