manager: Add os variable since hostname on macos is weird
This commit is contained in:
@ -9,7 +9,8 @@ use std::path::PathBuf;
|
||||
use tokio::fs::{read_dir, read_to_string};
|
||||
use tokio::join;
|
||||
|
||||
pub async fn peek_tree(cfg: &Config) -> Result<(), Errors> {
|
||||
/// Iterate over the directory tree and print all variables used in all template files.
|
||||
pub async fn print_variables(cfg: &Config) -> Result<(), Errors> {
|
||||
for var in dir(cfg, PathBuf::new()).await? {
|
||||
println!("{}", var);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user