Sha256: 5da49c590d3f3eddabeffc74396c1aee83fac138c58854ad6247900a19185cdd

Contents?: true

Size: 980 Bytes

Versions: 1

Compression:

Stored size: 980 Bytes

Contents

module Stastic::Command
  class Help < Base

    def index
      print usage
    end

    private

      def usage
        <<-EOF
stastic (#{Stastic::VERSION}) - command-line tool for managing your Stastic sites

Available Commands
------------------

  stastic help                     # You're looking at it!
  stastic create [name]            # Create a site (using the current directory)
  stastic publish                  # Publish the site
  stastic info                     # Show info about the current site
  stastic list                     # List sites associated with your account
  stastic rename <name>            # Rename the site (name.stastic.com)
  stastic domains:add <domain>     # Add a domain to the site (example.com)
  stastic domains:remove <domain>  # Remove a domain from the site
  stastic preview                  # Start local HTTP server
  stastic set site_root <path>     # Set the local path to the static files

        EOF
      end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stastic-0.2.0 lib/stastic/commands/help.rb