class Warp::Dir::Command::Add
Public Instance Methods
run(*args)
click to toggle source
# File lib/warp/dir/command/add.rb, line 8 def run(*args) self.point_path ||= Dir.pwd store.insert point_name: point_name, point_path: point_path, overwrite: config.force on :success do message 'Warp point saved!' end end