pub async fn run(
config: &Config,
admin: Option<&str>,
file: &str,
options: UploadOptions<'_>,
format: Option<&str>,
quiet: bool,
) -> Result<(), YukiError>Expand description
Upload a document to the Yuki archive.
When options.amount is provided, the richer UploadDocumentWithData operation is used,
allowing cost category, payment method, project, and remarks to be attached.
Otherwise UploadDocument is used.