lib/renuo/cli.rb in renuo-cli-1.5.0 vs lib/renuo/cli.rb in renuo-cli-1.6.0
- old
+ new
@@ -14,10 +14,11 @@
require 'renuo/cli/app/release_project.rb'
require 'renuo/cli/app/fetch_emails.rb'
require 'renuo/cli/app/heroku_users.rb'
require 'renuo/cli/app/setup_uptimerobot'
require 'renuo/cli/app/release_xing'
+require 'renuo/cli/app/configure_semaphore'
module Renuo
class CLI
def start
require 'commander/import'
@@ -199,9 +200,19 @@
c.summary = 'Release Xing to preview.'
c.description = "Xing needs to be released manually. "\
"You need a VPN connection open before runnign this command."
c.action do |args|
ReleaseXing.new.run
+ end
+ end
+
+ command 'configure-semaphore' do |c|
+ c.syntax = 'renuo configure-semaphore'
+ c.summary = 'Adds standard semaphore configuration files to a project and creates the notifications'
+ c.description = 'Run this command with a project, to add the semaphore configuration files '\
+ 'and create notifications.'
+ c.action do |args|
+ ConfigureSemaphore.new.call
end
end
end
end
end