Sha256: b9881e7e8bf4b541159e7d1233f44c9d5114afdc90a3c657ea4d47122f568d5d

Contents?: true

Size: 1.02 KB

Versions: 15

Compression:

Stored size: 1.02 KB

Contents

require 'capistrano/all'
require 'capistrano/setup'
require 'capistrano/deploy'

# 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/cli/bootstrap'
require 'negroku/cli/stage'
require 'negroku/cli/env'
require 'negroku/helpers/app_directory'
require 'negroku/helpers/templates'

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


module Negroku::CLI

    extend GLI::App

    # Set th version
    version Negroku::VERSION

    # Negroku commands will manage the interactive cli ui
    default_command :negroku

    # 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

15 entries across 15 versions & 1 rubygems

Version Path
negroku-2.4.2 lib/negroku/cli.rb
negroku-2.4.1 lib/negroku/cli.rb
negroku-2.4.0 lib/negroku/cli.rb
negroku-2.3.5 lib/negroku/cli.rb
negroku-2.3.4 lib/negroku/cli.rb
negroku-2.3.3 lib/negroku/cli.rb
negroku-2.3.2 lib/negroku/cli.rb
negroku-2.3.1 lib/negroku/cli.rb
negroku-2.3.0 lib/negroku/cli.rb
negroku-2.2.0 lib/negroku/cli.rb
negroku-2.1.0 lib/negroku/cli.rb
negroku-2.0.3 lib/negroku/cli.rb
negroku-2.0.2 lib/negroku/cli.rb
negroku-2.0.1 lib/negroku/cli.rb
negroku-2.0.0 lib/negroku/cli.rb