Skip to content

Commit

Permalink
(GH-1267) API - get configuration
Browse files Browse the repository at this point in the history
After configuring a request in the API, it would be helpful to have a
way to see the configuration that is set up.
  • Loading branch information
ferventcoder committed May 1, 2017
1 parent 74cdb68 commit a0f1a14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/chocolatey/GetChocolatey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,11 @@ private ChocolateyConfiguration create_configuration(IList<string> args)
return configuration;
}

public ChocolateyConfiguration GetConfiguration()
{
return create_configuration(new List<string>());
}

private void extract_resources()
{
//refactor - thank goodness this is temporary, cuz manifest resource streams are dumb
Expand Down

0 comments on commit a0f1a14

Please sign in to comment.