Sha256: a2201084d6563e1888eb72645dee8a9a32834f51f800d7c90e72e1b184e5cd09

Contents?: true

Size: 1.03 KB

Versions: 9

Compression:

Stored size: 1.03 KB

Contents

require 'capistrano/all'
require 'capistrano/setup'
require 'capistrano/deploy'
require 'bundler'
require 'virtus'

# Load applications deploy config if it exists
require './config/deploy' if File.exists? "./config/deploy.rb"

require 'gli'
require 'inquirer'
require 'negroku/i18n'
require 'negroku/version'
require 'negroku/versionable'
require 'negroku/config'
require 'negroku/modes/app'
require 'negroku/modes/stage'
require 'negroku/modes/env'
require 'negroku/helpers/app_directory'
require 'negroku/helpers/templates'

require 'capistrano/rbenv'
require 'negroku/capistrano/deploy'

module Negroku::CLI

    extend GLI::App

    # Set th version
    version Negroku::VERSION

    # Don't show the negroku commands in the help
    hide_commands_without_desc true

    # Use the gemspec summary to describe the cli
    program_desc Gem::Specification.find_by_name('negroku').summary

    # Load all the commands in the negroku/cli/command folder
    commands_from 'negroku/cli/commands'

    # Initialize GLI app
    exit Negroku::CLI.run(ARGV)
end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
negroku-2.8.6 lib/negroku/cli.rb
negroku-2.8.5 lib/negroku/cli.rb
negroku-2.8.4 lib/negroku/cli.rb
negroku-2.8.3 lib/negroku/cli.rb
negroku-2.8.2 lib/negroku/cli.rb
negroku-2.8.1 lib/negroku/cli.rb
negroku-2.8.0 lib/negroku/cli.rb
negroku-2.7.1 lib/negroku/cli.rb
negroku-2.7.0 lib/negroku/cli.rb