feat: add prompt to command

This commit is contained in:
Strix 2023-10-14 22:39:51 +02:00
parent e4fe3c5779
commit 2a67c6f633
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
6 changed files with 39 additions and 17 deletions

View file

@ -1,6 +1,7 @@
use std::path::Path;
use std::fs::DirEntry;
use std::{fs, io};
use std::fs::DirEntry;
use std::path::Path;
use log::trace;
pub fn visit_dirs(dir: &Path, cb: &dyn Fn(&DirEntry)) -> std::io::Result<()> {

View file

@ -1,4 +1,5 @@
use std::io::Write;
use log::trace;
pub fn is_noninteractive() -> bool {