This commit is contained in:
2025-05-15 11:44:02 -05:00
parent ee7c4c9560
commit fad2223495
8 changed files with 113 additions and 36 deletions

6
lib/ensure_dir_exists.rb Normal file
View File

@@ -0,0 +1,6 @@
def ensure_dir_exists(directory_path)
unless Dir.exist?(directory_path)
FileUtils.mkdir_p(directory_path)
spawn_toast 'Directory Created', %(Poaster created #{directory_path}.), 10
end
end