Sha256: 1673059509015e117b4560d0949c53407c580ab9a5b7760bf4cfa0415a98b0ab

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

require 'thor'
require 'answersengine/scraper'
require 'answersengine/cli/scraper_exporter'
require 'answersengine/cli/scraper_export'
require 'answersengine/cli/scraper_job'
require 'answersengine/cli/global_page'
require 'answersengine/cli/scraper_page'
require 'answersengine/cli/job_output'
require 'answersengine/cli/job'
require 'answersengine/cli/scraper_deployment'
require 'answersengine/cli/scraper'
require 'answersengine/cli/parser'
require 'answersengine/cli/seeder'
require 'answersengine/cli/finisher'


module AnswersEngine
  class CLI < Thor
    desc "scraper SUBCOMMAND ...ARGS", "manage scrapers"
    subcommand "scraper", Scraper

    desc "job SUBCOMMAND ...ARGS", "manage scrapers jobs"
    subcommand "job", Job

    desc "globalpage SUBCOMMAND ...ARGS", "interacts with global page"
    subcommand "globalpage", GlobalPage

    desc "parser SUBCOMMAND ...ARGS", "for parsing related activities"
    subcommand "parser", Parser

    desc "seeder SUBCOMMAND ...ARGS", "for seeding related activities"
    subcommand "seeder", Seeder

    desc "seeder SUBCOMMAND ...ARGS", "for seeding related activities"
    subcommand "finisher", Finisher
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
answersengine-0.6.0 lib/answersengine/cli.rb
answersengine-0.5.0 lib/answersengine/cli.rb