Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ run Public

Miscellaneous C# files that can be run with dnx runcs kzu/run:file.cs

License

Notifications You must be signed in to change notification settings

kzu/run

Repository files navigation

🏃 dnx runfile kzu/run:file.cs

Quickly and easily run any file in this repo using .NET 10 CLI:

dnx runfile kzu/run:file.cs

The following are the available scripts.

Azure KeyVault to dotnet-secrets sync

dnx runfile kzu/run:vault2secrets.cs

Uses the az CLI to fetch secrets from an Azure KeyVault and sync them to dotnet user-secrets store (either current directory project's secret or a specific id specified by --id argument or interactively).

The summary of the run shows what action was taken for each secret:

✅ local secret value matches KeyVault value, no change needed

➕ new KeyVault added to local secrets

📝 existing local secret value updated to match KeyVault value

vault2secrets

The updated secrets JSON is formatted with nested sections as appropriate for easier reading/editing.

Clean bin/obj recursively

dnx runfile kzu/run:clean.cs

What you would expect dotnet clean to do, but it doesn't :)

clean

About

Miscellaneous C# files that can be run with dnx runcs kzu/run:file.cs

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages