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
[Action(Name="pack",HelpText="Pack function app into a zip that's ready to deploy.",ShowInHelp=false)]
12
+
[Action(Name="pack",HelpText="Pack function app into a zip that's ready to deploy with optional argument to pass in path of folder to pack.",ShowInHelp=true)]
12
13
internalclassPackAction:BaseAction
13
14
{
14
15
privatereadonlyISecretsManager_secretsManager;
@@ -35,8 +36,8 @@ public override ICommandLineParserResult ParseArgs(string[] args)
35
36
36
37
Parser
37
38
.Setup<bool>("no-build")
38
-
.WithDescription("Do not build the project before packaging. Optionally provide a directory when func pack as the first argument that has the build contents."+
39
-
"Otherwise, default is the current directory.")
39
+
.WithDescription("Do not build the project before packaging. Optionally provide a directory when func pack as the first argument that has the build contents."+
40
+
"Otherwise, default is the current directory")
40
41
.Callback(n =>NoBuild=n);
41
42
42
43
if(args.Any()&&!args.First().StartsWith("-"))
@@ -49,6 +50,18 @@ public override ICommandLineParserResult ParseArgs(string[] args)
0 commit comments