async fn exec(app: Arc<App>) -> Result<()> {
        // if app.args.len() == 1 {
        //     println!("{}", Self::help());
        //     exit(1);
        // }
        // if app.args[1].as_str() == "clean" {
        //     let files: Vec<_> = fs::read_dir(temp_dir().join("volt")).unwrap().collect();

        //     let count = files.len();

        //     let progress_bar = ProgressBar::new(count.to_owned() as u64);

        //     progress_bar.set_style(
        //         ProgressStyle::default_bar()
        //             .progress_chars(PROGRESS_CHARS)
        //             .template(&format!(
        //                 "{} [{{bar:40.magenta/blue}}] {{msg:.blue}} {{len}} / {{pos}}",
        //                 "Deleting Cache".bright_blue()
        //             )),
        //     );

        //     for file in files {
        //         let os_str = file.unwrap().file_name();
        //         let f_name = format!(r"{}volt\{}", temp_dir().display(), os_str.to_str().unwrap());

        //         remove_file(f_name).unwrap();
        //         progress_bar.inc(1);
        //     }

        //     progress_bar.finish();
        // }
        Ok(())
    }
/// Execute the `volt cache` command
///
/// Clean your download cache.
/// ## Arguments
/// * `app` - Instance of the command (`Arc<App>`)
/// ## Examples
/// ```
/// // Clean your download cache (does not break symlinks)
/// // .exec() is an async call so you need to await it
/// Add.exec(app).await;
/// ```
/// ## Returns
/// * `Result<()>`
Execute the `volt cache` command
Clean your download cache.
Execute the ` volt cache ` command Clean your download cache .
async fn exec(app: Arc<App>) -> Result<()> {
        // if app.args.len() == 1 {
        //     println!("{}", Self::help());
        //     exit(1);
        // }
        // if app.args[1].as_str() == "clean" {
        //     let files: Vec<_> = fs::read_dir(temp_dir().join("volt")).unwrap().collect();
        //     let count = files.len();
        //     let progress_bar = ProgressBar::new(count.to_owned() as u64);
        //     progress_bar.set_style(
        //         ProgressStyle::default_bar()
        //             .progress_chars(PROGRESS_CHARS)
        //             .template(&format!(
        //                 "{} [{{bar:40.magenta/blue}}] {{msg:.blue}} {{len}} / {{pos}}",
        //                 "Deleting Cache".bright_blue()
        //             )),
        //     );
        //     for file in files {
        //         let os_str = file.unwrap().file_name();
        //         let f_name = format!(r"{}volt\{}", temp_dir().display(), os_str.to_str().unwrap());
        //         remove_file(f_name).unwrap();
        //         progress_bar.inc(1);
        //     }
        //     progress_bar.finish();
        // }
        Ok(())
    }
async fn exec ( app : Arc < App > ) -> Result < ( ) > { // if app.args.len() == 1 { //     println!("{}", Self::help()); //     exit(1); // } // if app.args[1].as_str() == "clean" { //     let files: Vec<_> = fs::read_dir(temp_dir().join("volt")).unwrap().collect(); //     let count = files.len(); //     let progress_bar = ProgressBar::new(count.to_owned() as u64); //     progress_bar.set_style( //         ProgressStyle::default_bar() //             .progress_chars(PROGRESS_CHARS) //             .template(&format!( //                 "{} [{{bar:40.magenta/blue}}] {{msg:.blue}} {{len}} / {{pos}}", //                 "Deleting Cache".bright_blue() //             )), //     ); //     for file in files { //         let os_str = file.unwrap().file_name(); //         let f_name = format!(r"{}volt\{}", temp_dir().display(), os_str.to_str().unwrap()); //         remove_file(f_name).unwrap(); //         progress_bar.inc(1); //     } //     progress_bar.finish(); // } Ok ( ( ) ) }
Execute the `volt cache` command
Clean your download cache.
Execute the ` volt cache ` command Clean your download cache .
None
app
Arc<App>
examples
```
Clean your download cache (does not break symlinks)
.exec() is an async call so you need to await it
Add.exec(app).await;
```
` ` ` Clean your download cache ( does not break symlinks ) . exec () is an async call so you need to await it Add . exec ( app ) . await ; ` ` `