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
Copy file name to clipboardExpand all lines: src/go/Program.cs
+5-9Lines changed: 5 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,13 @@
7
7
app.Add("dev",DevAsync);
8
8
app.Add("clean",CleanAsync);
9
9
app.Add<CleanupCommands>();
10
-
awaitapp.RunAsync(GoArgs.Normalize(args));
10
+
awaitapp.RunAsync(GoArgs.PrepareCafArgs(args));
11
11
12
12
/// <summary>Runs a file-based .NET app from a .cs entrypoint.</summary>
13
13
/// <param name="input">Path to an existing .cs file or remote ref (owner/repo[@ref][:path]).</param>
14
14
/// <param name="r2r">Publish with ReadyToRun instead of native AOT; supports more dynamic .NET features while keeping most publish optimizations. </param>
15
15
/// <param name="gdbg">Launch debugger before executing.</param>
16
-
/// <param name="extraArgs">Arguments before '--' are passed to 'dotnet publish'; arguments after '--' are forwarded to the published app. Without '--', all extra arguments are forwarded to the published app.
@@ -144,9 +142,7 @@ static int CleanAsync([Argument] string? input = null, bool all = false, [Hidden
144
142
/// <param name="input">Path to an existing .cs file or remote ref (owner/repo[@ref][:path]).</param>
145
143
/// <param name="r2r">Accepted for consistency (ignored for dev which uses dotnet run).</param>
146
144
/// <param name="gdbg">Launch debugger before executing.</param>
147
-
/// <param name="extraArgs">Arguments before '--' are passed to 'dotnet run'; arguments after '--' are forwarded to the app. Without '--', all extra arguments are forwarded to the app.
[0] <string> Path to an existing .cs file or remote ref (owner/repo[@ref][:path]).
8
-
[1] <string[]> Arguments before '--' are passed to 'dotnet publish'; arguments after '--' are forwarded to the published app. Without '--', all extra arguments are forwarded to the published app.
7
+
[0] <string> Path to an existing .cs file or remote ref (owner/repo[@ref][:path]).
9
8
10
9
Options:
11
-
--r2r Publish with ReadyToRun instead of native AOT; supports more dynamic .NET features while keeping most publish optimizations. Alias: --go-r2r.
12
-
--debug Launch debugger before executing. Alias: --go-debug.
10
+
--r2r Publish with ReadyToRun instead of native AOT; supports more dynamic .NET features while keeping most publish optimizations.
13
11
14
12
Commands:
15
-
clean Deletes cached publish artifacts fora file-based .NET app, or for a remote ref: deletes the bundle and also its associated publish artifacts for every previously-used path recordedin the bundle's ETags/Entry (:path on the ref is ignored).
13
+
clean Deletes cached publish artifacts for a file-based .NET app, or for a remote ref.
16
14
dev Runs a file-based .NET app from a .cs entrypoint using dotnet run for fast iteration.
0 commit comments