We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6de7f commit 135048cCopy full SHA for 135048c
src/main.rs
@@ -42,6 +42,10 @@ pub static TCLI_HOME: Lazy<PathBuf> = Lazy::new(|| {
42
43
#[tokio::main]
44
async fn main() -> Result<(), Error> {
45
+ if !TCLI_HOME.is_dir() {
46
+ std::fs::create_dir_all(TCLI_HOME.as_path())?;
47
+ }
48
+
49
match Args::parse().commands {
50
Commands::Init {
51
command,
0 commit comments