Skip to main content

endpoint_validator/cli/
input.rs

1use read_input::prelude::*;
2
3/// Function to collect paths interactively using `read_input`
4pub fn collect_paths_interactively() -> (String, String) {
5    let services_path: String = input().msg("Enter the path to services.json: ").get();
6
7    let config_path: String = input().msg("Enter the path to config.toml: ").get();
8
9    (services_path, config_path)
10}