class Datahen::CLI::Job

Public Class Methods

banner(command, namespace = nil, subcommand = false) click to toggle source

Public Instance Methods

list() click to toggle source
# File lib/datahen/cli/job.rb, line 16
def list()
  client = Client::Job.new(options)
  puts "#{client.all()}"
end
show(job_id) click to toggle source
# File lib/datahen/cli/job.rb, line 23
def show(job_id)
  client = Client::Job.new(options)
  puts "#{client.find(job_id, options)}"
end
stats(job_id) click to toggle source
# File lib/datahen/cli/job.rb, line 33
def stats(job_id)
  client = Client::JobStat.new(options)
  puts "#{client.job_current_stats(job_id, options)}"
end