Sha256: 4c0b7b2ac81cb54021de17307cd424c1a969d8e5712e19e3d372a664e0aa2027

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

require 'gli'
require 'inquirer'
require 'negroku/i18n'
require 'negroku/version'
require 'negroku/cli/bootstrap'

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

2 entries across 2 versions & 1 rubygems

Version Path
negroku-2.0.0.pre2 lib/negroku/cli.rb
negroku-2.0.0.pre1 lib/negroku/cli.rb