lib/stack_tracy/cli.rb in stack_tracy-0.1.4 vs lib/stack_tracy/cli.rb in stack_tracy-0.1.5
- old
+ new
@@ -5,12 +5,12 @@
class CLI < Thor
default_task :open
desc "open [PATH]", "Display StackTracy data within the browser (PATH is optional)"
- method_options [:limit, "-l"] => :numeric, [:threshold, "-t"] => :numeric
+ method_options [:limit, "-l"] => :numeric, [:threshold, "-t"] => :numeric, [:messages_only, "-m"] => :false, [:slows_only, "-s"] => :false
def open(path = ".")
- StackTracy.open path, false, options.threshold, options.limit
+ StackTracy.open path, false, options
end
private
def method_missing(method, *args)
\ No newline at end of file