You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -107,10 +109,16 @@ public override ICommandLineParserResult ParseArgs(string[] args)
107
109
Parser
108
110
.Setup<bool>("no-build")
109
111
.WithDescription("Skip building and fetching dependencies for the function project.")
110
-
.Callback(f =>NoBuild=f);
112
+
.Callback(f =>NoBuild=f);
113
+
// Note about usage:
114
+
// The value of 'dotnet-cli-params' option should either use a leading space character or escape the double quotes explicitly.
115
+
// Ex 1: --dotnet-cli-params " --configuration debug"
116
+
// Ex 2: --dotnet-cli-params "\"--configuration debug"\"
117
+
// If you don't do this, the value with leading - or -- will be read as a key (rather than the value of 'dotnet-cli-params').
118
+
// See https://github.com/fclp/fluent-command-line-parser/issues/99 for reference.
111
119
Parser
112
120
.Setup<string>("dotnet-cli-params")
113
-
.WithDescription("When publishing dotnet functions, the core tools calls 'dotnet build --output bin/publish'. Any parameters passed to this will be appended to the command line.")
121
+
.WithDescription("When publishing dotnet functions, the core tools calls 'dotnet build --output bin/publish --configuration release'. Any parameters passed to this will be appended to the command line.")
thrownewCliException($"Missing value for AzureWebJobsStorage in {SecretsManager.AppSettingsFileName}. "+
459
+
$"This is required for all triggers other than {string.Join(", ",Constants.TriggersWithoutStorage)}. "
460
+
+$"You can run 'func azure functionapp fetch-app-settings <functionAppName>', specify a connection string in {SecretsManager.AppSettingsFileName}, or use managed identity to authenticate.");
.WriteLine(WarningColor($"Warning: Cannot find value named '{appSettingName}' in {SecretsManager.AppSettingsFileName} that matches '{token.Key}' property set on '{binding["type"]?.ToString()}' in '{filePath}'. "+
480
+
$"You can run 'func azure functionapp fetch-app-settings <functionAppName>' or specify a connection string in {SecretsManager.AppSettingsFileName}."));
0 commit comments