helix/helix-term/src/main.rs

27 lines
412 B
Rust
Raw Normal View History

2020-06-02 10:57:01 +09:00
#![allow(unused)]
// mod editor;
2020-06-01 17:42:28 +09:00
mod component;
2020-05-20 18:14:51 +09:00
// use editor::Editor;
2020-05-20 18:14:51 +09:00
use argh::FromArgs;
2020-06-02 10:57:01 +09:00
use std::path::PathBuf;
2020-05-20 18:14:51 +09:00
use anyhow::Error;
2020-05-20 18:14:51 +09:00
#[derive(FromArgs)]
/// A post-modern text editor.
pub struct Args {
#[argh(positional)]
files: Vec<PathBuf>,
2020-05-20 18:14:51 +09:00
}
fn main() -> Result<(), Error> {
let args: Args = argh::from_env();
// let mut editor = Editor::new(args)?;
2020-05-20 18:14:51 +09:00
// editor.run()?;
2020-05-20 18:14:51 +09:00
Ok(())
}