swfasm-cli 0.1.0

A command line tool that compiles a textual representation into SWF files
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::Parser;
use std::path::PathBuf;

/// Compiles a textual (RON) representation of a SWF file into a SWF file.
#[derive(Parser, Debug)]
#[clap(name = "swfasm", author, version)]
pub struct Opt {
    /// The source file.
    pub input: PathBuf,

    /// The output file.
    ///
    /// Defaults to the input file with the `.swf` extension.
    #[clap(short, long)]
    pub output: Option<PathBuf>,
}