Sha256: 389d8c0353d5ad75c5a4c055c2b40384139d7c2866d4cf4b741dad3deff3fbff

Contents?: true

Size: 1.31 KB

Versions: 13

Compression:

Stored size: 1.31 KB

Contents

require 'thor'
require 'datahen/scraper'
require 'datahen/cli/scraper_var'
require 'datahen/cli/scraper_exporter'
require 'datahen/cli/scraper_export'
require 'datahen/cli/scraper_job_var'
require 'datahen/cli/scraper_job'
require 'datahen/cli/scraper_finisher'
require 'datahen/cli/global_page'
require 'datahen/cli/scraper_page'
require 'datahen/cli/job_output'
require 'datahen/cli/job'
require 'datahen/cli/scraper_deployment'
require 'datahen/cli/scraper'
require 'datahen/cli/parser'
require 'datahen/cli/seeder'
require 'datahen/cli/finisher'
require 'datahen/cli/env_var'



module Datahen
  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

13 entries across 13 versions & 1 rubygems

Version Path
datahen-0.14.5 lib/datahen/cli.rb
datahen-0.14.4 lib/datahen/cli.rb
datahen-0.14.3 lib/datahen/cli.rb
datahen-0.14.2 lib/datahen/cli.rb
datahen-0.14.1 lib/datahen/cli.rb
datahen-0.14.0 lib/datahen/cli.rb
datahen-0.13.7 lib/datahen/cli.rb
datahen-0.13.0 lib/datahen/cli.rb
datahen-0.12.0 lib/datahen/cli.rb
datahen-0.11.2 lib/datahen/cli.rb
datahen-0.11.1 lib/datahen/cli.rb
datahen-0.11.0 lib/datahen/cli.rb
datahen-0.10.4 lib/datahen/cli.rb