sct/lib/sct/commands_generator.rb in sct-1.0.7 vs sct/lib/sct/commands_generator.rb in sct-1.0.8

- old
+ new

@@ -52,9 +52,21 @@ c.action do |args, options| Sct::DevCommand.new.execute args, options end end + command :'database-pull' do |c| + c.syntax = 'sct database pull' + c.description = 'pull database changes for proactive frame and proactive config' + c.option '--proactive-frame', 'pull the database changes from proactive-frame' + c.option '--proactive-config', 'pull the database changes from proactive-config' + + c.action do |args, options| + UI.important("Trying to pull database") + Sct::DatabasePullCommand.new.execute args, options + end + end + run! end end end