Sha256: ea162a2f8bae37ca7dff97575bfff7df4294503edfa4c55740c86371277932a2

Contents?: true

Size: 1.1 KB

Versions: 5

Compression:

Stored size: 1.1 KB

Contents

module Aemninja
  module Usage

    def self.commands
        puts
        puts 'Usage:'
        puts '  aemninja COMMAND [ARGS]'
        puts
        puts 'Available COMMANDs:'
        puts '  init                                         # creates ".aemninja" base directory'
        puts '  deploy                                       # deploys package to local or remote AEM instances'
        puts
        puts
        puts
    end

    def self.deploy
      puts
      puts
      puts 'Usage'
      puts '  aemninja deploy PATH_TO_PACKAGE [ENVIRONMENT]'
      puts
      puts 'Available ARGS are'
      puts '  aemninja deploy [local]                        # default, deploys to the AEM instances configured in .aemninja/config/environments/local.rb'
      puts '  aemninja deploy staging                        # deploys to the AEM instances configured in .aemninja/config/environments/staging.rb'
      puts '  aemninja deploy production                     # deploys to the AEM instances configured in .aemninja/config/environments/production.rb'
      puts
      puts
      puts

      exit 1
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aemninja-0.0.6 lib/aemninja/usage.rb
aemninja-0.0.5 lib/aemninja/usage.rb
aemninja-0.0.4 lib/aemninja/usage.rb
aemninja-0.0.3 lib/aemninja/usage.rb
aemninja-0.0.2 lib/aemninja/usage.rb