Skip to content

Commit

Permalink
fix command description
Browse files Browse the repository at this point in the history
  • Loading branch information
sasamuku committed Mar 16, 2024
1 parent 03f7e39 commit 8807572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rspec_tree/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

module RspecTree
class CLI < Thor
desc "all", "Print all"
desc "all [file]", "Print all (describe, context, it, etc.)"
def all(file)
File.open(file, "r") do |f|
Tree.all(f.read)
end
end

desc "ctx", "Print describe and context"
desc "ctx [file]", "Print only describe and context"
def ctx(file)
File.open(file, "r") do |f|
Tree.ctx(f.read)
Expand Down

0 comments on commit 8807572

Please sign in to comment.