Sha256: d170040d8ef1ec034d97c8a99aeb4b897b39cae6ee597ebe71ed8cab082d99d6
Contents?: true
Size: 529 Bytes
Versions: 8
Compression:
Stored size: 529 Bytes
Contents
#!/usr/bin/env ruby require 'commander' require 'apidragon' require_relative '../lib/apidragon.rb' Commander.configure do program :name, 'apidragon' program :version, '0.0.1' program :description, 'CLI for automating api requests' program :help, 'Author', 'Isaiah Thiessen <isaiah.thiessen@telus.com>' command :do do |c| # c.syntax 'apidragon do' # c.description 'Runs the specified command, described in the config file.' c.action do |args| api = Api.new args.first api.go end end end
Version data entries
8 entries across 8 versions & 1 rubygems