Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs: Frosting now supports configuration #2492

Open
devlead opened this issue Aug 19, 2022 · 0 comments
Open

Update docs: Frosting now supports configuration #2492

devlead opened this issue Aug 19, 2022 · 0 comments

Comments

@devlead
Copy link
Member

devlead commented Aug 19, 2022

Frosting has since a year back now configuration support, so docs should be updated i.e. this removed

Configuration is currently not supported for [Cake Frosting].

Configuration is currently not supported for [Cake Frosting].

And examples added using

public static CakeHost UseCakeSetting(this CakeHost host, string key, string value)

i.e.

Show Process Command Line in frosting would atm be (maybe should add a helper method here like tool path🤔)

cakeHost.UseCakeSetting("settings_showprocesscommandline", bool.TrueString)

Tools Path would be

cakeHost.SetToolPath("./tools")

Would need some investigation as all settings aren't applicable i.e. Skip Verification, Addin NuGet Dependencies, and Addins Path are useful in scripting only.

Config file, environment variables, and command-line arguments should work just as in Cake.Tool as FrostingConfiguration uses CakeConfigurationProvider under the hood.

@nils-a nils-a changed the title Update docs Frosting now configuration support Update docs: Frosting now supports configuration Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant