robin_cli_tool 1.0.0

A CLI tool to run scripts for any project
Documentation
1
2
3
4
5
6
7
8
9
use std::path::PathBuf;
use tempfile::TempDir;
use robin::CONFIG_FILE;

pub async fn setup() -> (TempDir, PathBuf) {
    let temp_dir = tempfile::tempdir().unwrap();
    let config_path = temp_dir.path().join(CONFIG_FILE);
    (temp_dir, config_path)
}