Files
icarus_dm/src/help.rs
T
KD ec0cbd7da0 Download song (#65)
* Got download functionality working

* Updated readme

* Code formatting

* Updated help

* Version bump
2025-08-30 11:52:04 -04:00

38 lines
906 B
Rust

pub fn print_help() {
let msg: String = String::from(
r#"icd [Action] [flag]
Actions
download
upload-meta
retrieve
delete
Flags
Required for all actions
-u username
-p password
-h api host
-ha auth api host
Required for upload with metadata
-s path of song
-t track number
-m metadata filepath
-ca coverart filepath
-scma directory where songs, metadata, and cover art exists and will be uploaded (Optional)
Required for download
-b song id
-d path to download song (Optional)
Required for retrieving records
-rt retrieve type (songs is only accepted)
Required for deleting a song
-D song id"#,
);
println!("{msg}");
}