aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
blob: 9a09e8c71e05dfa4a269682e7758e0b30fe6c6bf (plain) (blame)
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
#![allow(unused)]
// mod editor;
mod component;

// use editor::Editor;

use argh::FromArgs;
use std::path::PathBuf;

use anyhow::Error;

#[derive(FromArgs)]
/// A post-modern text editor.
pub struct Args {
    #[argh(positional)]
    files: Vec<PathBuf>,
}

fn main() -> Result<(), Error> {
    let args: Args = argh::from_env();
    // let mut editor = Editor::new(args)?;

    // editor.run()?;

    Ok(())
}