File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Run C# code programs from GitHub gists.
44
55```
6- Usage: [dnx] gist <gistRef> [<appArgs>...]
6+ Usage: [dnx] gist [--aot] [--alias ALIAS] <gistRef> [<appArgs>...]
7+
8+ Arguments:
79 <GIST_REF> Reference to gist file to run, with format owner/gist[@commit][:path]
8- @commit optional gist commit (default: default branch )
10+ @commit optional gist commit (default: latest )
911 :path optional path to file in gist (default: program.cs or first .cs file)
1012
1113 Examples:
1214 * kzu/0ac826dc7de666546aaedd38e5965381 (tip commit and program.cs or first .cs file)
1315 * kzu/0ac826dc7de666546aaedd38e5965381@d8079cf:run.cs (explicit commit and file path)
1416
15- <appArgs> Arguments passed to the C# program gist that is being run.
17+ Can be an alias previously set with --alias.
18+
19+ <appArgs> Arguments passed to the C# program that is being run.
20+
21+ Options:
22+ --aot (optional) Enable dotnet AOT defaults for run file.cs. Defaults to false.
23+ --alias ALIAS (optional) Assign an alias on first usage which can be used instead of the full ref.
1624```
1725
1826> [ !TIP]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Run C# code programs from git repos on GitHub, GitLab and Azure DevOps.
44
55```
66Usage:
7- [dnx] runcs <repoRef> [<appArgs>...]
7+ [dnx] runcs [--aot] [--alias ALIAS] <repoRef> [<appArgs>...]
88
99Arguments:
1010 <REPO_REF> Reference to remote file to run, with format [host/]owner/repo[@ref][:path]
@@ -17,7 +17,13 @@ Arguments:
1717 * gitlab.com/kzu/sandbox@main:run.cs (all explicit parts)
1818 * kzu/sandbox (implied host github.com, ref and path defaults)
1919
20+ Can be an alias previously set with --alias.
21+
2022 <appArgs> Arguments passed to the C# program that is being run.
23+
24+ Options:
25+ --aot (optional) Enable dotnet AOT defaults for run file.cs. Defaults to false.
26+ --alias ALIAS (optional) Assign an alias on first usage which can be used instead of the full ref.
2127```
2228
2329Example:
You can’t perform that action at this time.
0 commit comments