lib/lbrt/cli/alert.rb in lbrt-0.1.3 vs lib/lbrt/cli/alert.rb in lbrt-0.1.4

- old
+ new

@@ -1,9 +1,14 @@ class Lbrt::CLI::Alert < Thor include Lbrt::Utils::CLIHelper class_option :target + desc 'peco', 'Show alert by peco' + def peco + client(Lbrt::Alert).peco + end + desc 'apply FILE', 'Apply alerts' option :'dry-run', :type => :boolean, :default => false def apply(file) updated = client(Lbrt::Alert).apply(file)