AppHarbor.Commands.ConfigCommand.InnerExecute C# (CSharp) Method

InnerExecute() protected method

protected InnerExecute ( string arguments ) : void
arguments string
return void
        protected override void InnerExecute(string[] arguments)
        {
            var configurationVariables = _appharborClient.GetConfigurationVariables(ApplicationId);

            if (!configurationVariables.Any())
            {
                _writer.WriteLine("No configuration variables are associated with this application");
            }

            foreach (var configurationVariable in configurationVariables)
            {
                _writer.WriteLine("{0} => {1}", configurationVariable.Key, configurationVariable.Value);
            }
        }