moonwave 1.3.0

Moonwave is a tool for generating documentation from comments in Lua source code.
Documentation
use std::path::PathBuf;

use structopt::StructOpt;

#[derive(Debug, StructOpt)]
#[structopt(about = env!("CARGO_PKG_DESCRIPTION"))]
pub struct Args {
    #[structopt(subcommand)]
    pub subcommand: Subcommand,
}

#[derive(Debug, StructOpt)]
pub enum Subcommand {
    Extract(ExtractSubcommand),
}

/// Extracts doc comments from the given files
#[derive(Debug, StructOpt)]
pub struct ExtractSubcommand {
    pub input_path: Option<PathBuf>,

    /// The base path that source paths in the output will be relative to.
    /// If unspecified, the input path is used.
    #[structopt(long = "base", short = "b")]
    pub base_path: Option<PathBuf>,
}