diff --git a/src/main.rs b/src/main.rs index 100d2b1..44a77b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,6 +25,7 @@ enum Commands{ Create(CreateSubcommand), Upload(UploadSubcommand), Compile(CompileSubcommand), + CompileUpload(CompileUploadSubcommand), Decompile(DecompileSubcommand), DecompileHistoryIntoGit(DecompileHistoryIntoGitSubcommand), DownloadAndDecompileHistoryIntoGit(DownloadAndDecompileHistoryIntoGitSubcommand), @@ -113,6 +114,25 @@ struct CompileSubcommand{ template:Option, } #[derive(Args)] +struct CompileUploadSubcommand{ + #[arg(long)] + asset_id:AssetID, + #[arg(long)] + cookie_type:CookieType, + #[arg(long)] + cookie:String, + #[arg(long)] + input_file:PathBuf, + #[arg(long)] + group:Option, + #[arg(long)] + input_folder:Option, + #[arg(long)] + style:Option