summaryrefslogtreecommitdiff
path: root/lib/ats/cli/threat_grid/application.rb
blob: 7d42ec06c953eb20d43455301f2cd534fa56a8f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module ATS
  module CLI
    module ThreatGrid
      class Application < Thor
        desc 'users SUBCOMMAND ...ARGS', 'interact with the Threat Grid API'
        subcommand :users, ATS::CLI::ThreatGrid::Users

        desc 'organizations SUBCOMMAND ...ARGS', 'interact with the Threat Grid API'
        subcommand :organizations, ATS::CLI::ThreatGrid::Organizations

        desc 'samples SUBCOMMAND ...ARGS', 'interact with the Threat Grid API'
        subcommand :samples, ATS::CLI::ThreatGrid::Samples

        desc 'search SUBCOMMAND ...ARGS', 'interact with the Threat Grid API'
        subcommand :search, ATS::CLI::ThreatGrid::Search

        desc 'whoami', 'interact with the Threat Grid API'
        subcommand :whoami, ATS::CLI::ThreatGrid::Whoami
      end
    end
  end
end