caesura 0.17.0

An all-in-one command line tool to **transcode FLAC** audio files and **upload to gazelle** based indexers/trackers.
Documentation
use crate::errors::AppError;
use std::path::PathBuf;

use crate::fs::DirectoryReader;
use crate::imdl::imdl_command::ImdlCommand;
use crate::testing::TORRENTS_SAMPLES_DIR;

#[tokio::test]
#[ignore]
async fn show() -> Result<(), AppError> {
    // Arrange
    let paths = DirectoryReader::new()
        .with_extension("torrent")
        .read(&PathBuf::from(TORRENTS_SAMPLES_DIR))
        .expect("Directory should exist");
    let path = paths.first().expect("Should be at least one sample");

    // Act
    let summary = ImdlCommand::show(path).await?;

    // Assert
    assert!(!summary.files.is_empty());

    Ok(())
}