Class Rudy::CLI::Config
In: lib/rudy/cli/config.rb
Parent: Rudy::CLI::CommandBase

Methods

Public Instance methods

Display configuration from the local user data file (~/.rudy/config). This config contains user data which is sent to each EC2 when it‘s created.

The primary purpose of this command is to give other apps a way to check various configuration values. (This is mostly useful for debugging and checking configuration on an instance itself).

It will return the most specific configuration available. If the attribute isn‘e found it will check each parent for the same attribute. e.g. if [prod][app][ami] is not available, it will check [prod][ami] and then [ami].

    # Display all configuration
    $ rudy config --all

    # Display just machines
    $ rudy config --defaults

We force the CLI::Base#print_header to be quiet

[Validate]