helix/helix-term/src/main.rs
2020-06-02 10:59:02 +09:00

26 lines
412 B
Rust

#![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(())
}