Class: Bard::CLI::Open

Inherits:
Command
  • Object
show all
Defined in:
lib/bard/cli/open.rb

Instance Method Summary collapse

Methods inherited from Command

desc, option, setup

Instance Method Details

#open(server = :production) ⇒ Object



5
6
7
# File 'lib/bard/cli/open.rb', line 5

def open server=:production
  exec "xdg-open #{open_url server}"
end