Sha256: 44ed0a1ad96afc944063c7f9538109b63778304cdc378158eb4b3767bb9d91dd
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
# encoding: utf-8 module Apiary module Command # Display help class Help def self.execute(options) banner commands end def self.banner puts "\nUsage: apiary command [options]" puts "Try 'apiary help' for more information." end def self.commands puts "\nCurrently available apiary commands are:\n\n" puts "\tpreview Show API documentation in default browser" puts "\tpreview --browser [chrome|safari|firefox] Show API documentation in specified browser" puts "\tpreview --path [PATH] Specify path to blueprint file" puts "\tpreview --api_host [HOST] Specify apiary host" puts "\tpreview --server Start standalone web server on port 8080" puts "\tpreview --server --port [PORT] Start standalone web server on specified port" puts "\tokapi help Show okapi testing tool help" puts "\n" puts "\thelp Show this help" puts "\n" puts "\tversion Show version" puts "\n" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apiaryio-0.0.4 | lib/apiary/command/help.rb |
apiaryio-0.0.3 | lib/apiary/command/help.rb |