Sha256: b51c0c7f70820a4d73b2292a50782dd78b4f957930de2a257d8d7c12c1154dd3

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 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'
require 'answersengine/cli/env_var'


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

    desc "var SUBCOMMAND ...ARGS", "for environment variable related activities"
    subcommand "var", EnvVar
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
answersengine-0.7.0 lib/answersengine/cli.rb