lib/neetob/cli/github/commands.rb in neetob-0.1.5 vs lib/neetob/cli/github/commands.rb in neetob-0.2.0
- old
+ new
@@ -5,10 +5,11 @@
require_relative "issues/commands"
require_relative "search"
require_relative "protect_branch"
require_relative "login"
require_relative "make_pr/commands"
+require_relative "gems/commands"
module Neetob
class CLI
module Github
class Commands < Thor
@@ -18,9 +19,12 @@
desc "issues", "Interact with the issues of Github repos"
subcommand "issues", Issues::Commands
desc "make-pr", "Create PRs across multiple Github repos"
subcommand "make_pr", MakePr::Commands
+
+ desc "gems", "Interact with the neeto gems"
+ subcommand "gems", Gems::Commands
desc "search", "Find the lines matching the given keyword in the specified file across all the neeto apps"
option :apps, type: :array, aliases: "-a", required: true, desc: "Github app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web\""
option :keyword, type: :string, aliases: "-k", desc: "Keyword which needs to be searched", required: true
option :path, type: :string, aliases: "-p",