Expand description
Music exporter
§CLI Usage
cargo install music-exporter
music-exporter --music-file musics.json --platform deezer§Rust Usage
use music_exporter::{Music, MusicExporter, MusicExporterError};
use clap::Parser;
async fn run_async() -> Result<Vec<Music>, MusicExporterError> {
let music_exp = MusicExporter::parse();
// music_exp.load_env()?;
music_exp.get_musics().await
}Structs§
- Deezer
Platform - Deezer platform implementation
- Music
- Music struct
- Music
Exporter - Music-exporter args
- Music
Exporter Error - Galion error wrapper
- Spotify
Platform - Spotify platform
- Youtube
Platform - Youtube platform
Enums§
- Platform
Type - Platform type
Traits§
- Platform
- Platform trait
Functions§
- music_
exporter_ main - Main function for the CLI