github-actions-autodocs 0.1.4

Generate a basic readme for the given github action
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;

#[derive(Parser, Debug, Clone)]
#[command(author, version, about, long_about = None)]
pub struct Args {
    /// Source path
    #[arg(short, long, default_value = "action.yml")]
    pub file: String,

    /// Dry run
    #[arg(long, default_value = "false")]
    pub dry: bool,

    /// Output filepath
    #[arg(short, long)]
    pub output: Option<String>,
}