ea-command 0.2.1

Editor Alias: making paths in command line tools actionable.
Documentation
use ea_command::interface::{self, Commands};
use ea_command::commands;
use clap::Parser;

fn main() {
    let args = interface::Interface::parse();
    match args.subcommand {
        Some(Commands::Run {
            style,
            executable,
            arguments,
            debug,
        }) => {
            commands::run::run(&style, &executable, &arguments, debug);
        }
        Some(Commands::List) | None => {
            commands::list::list();
        }
        Some(Commands::Print { number, format }) => {
            commands::print::print(number, &format);
        }
    }
}