lib/termup/cli.rb in termup-1.0.1 vs lib/termup/cli.rb in termup-1.1.0

- old
+ new

@@ -23,9 +23,10 @@ template "templates/template.yml", path(project) end desc "edit PROJECT", "Edit termup project (Shortcut: e)" def edit(project) + create(project) unless File.exists?(path(project)) say "please set $EDITOR in your .bash_profile." and return unless editor = ENV['EDITOR'] system("#{editor} #{path(project)}") end desc "list", "List termup projects (Shortcut: l)"