summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
blob: ce217cb96de1a9334568857e87c7faa9b6f18b0d (plain)
1
2
3
4
5
6
7
8
9
10
use crate::constants::{NAME, VERSION};
use clap::App;

pub(crate) fn build_cli() -> App<'static, 'static> {
	App::new(NAME)
		.version(VERSION)
		.about("Full feature terminal based sequence editor for git interactive rebase.")
		.author("Tim Oram <dev@mitmaro.ca>")
		.args_from_usage("<rebase-todo-filepath> 'The path to the git rebase todo file'")
}