ff-cli 0.1.0

A pluggable command-line framework for extensible CLI applications
Documentation
use ff_cli::Command;
use anyhow::Result;

pub struct ExampleCommand;

impl Command for ExampleCommand {
    fn name(&self) -> &str {
        "example"
    }

    fn description(&self) -> &str {
        "An example plugin command"
    }

    fn execute(&self, args: &[String]) -> Result<()> {
        println!("Example command executed!");
        if !args.is_empty() {
            println!("Arguments: {:?}", args);
        }
        Ok(())
    }
}

fn main() {
    println!("This is an example of how to create a plugin command.");
    println!("In a real plugin, you would register this command with the main registry.");
}