Sha256: 3ee3aa8312808b82d04f074c1dcaa83f51769cc9974fef2ea66f266a3c0332af
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
require 'ronin/ui/cli/command' class TestCommand < Ronin::UI::CLI::Command summary 'Tests the default task' usage '[options] PATH FILE [..]' examples [ 'test_command --foo PATH', 'test_command --foo PATH FILE ...' ] option :foo argument :path argument :files, :type => Array def execute if @foo then 'foo task' else 'default task' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-1.5.1 | spec/ui/cli/classes/test_command.rb |