From 44ef08cc7311ebab33b5f0975611799e407ed9b6 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 1 Jul 2024 18:03:36 -0700 Subject: [PATCH] compile-upload --- src/main.rs | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) 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