Skip to content

Commit 92be11c

Browse files
devlooped-botkzu
authored andcommitted
+Mᐁ includes
1 parent 6d5c0e2 commit 92be11c

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

src/gist/readme.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,24 @@
33
Run 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]

src/runcs/readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Run C# code programs from git repos on GitHub, GitLab and Azure DevOps.
44

55
```
66
Usage:
7-
[dnx] runcs <repoRef> [<appArgs>...]
7+
[dnx] runcs [--aot] [--alias ALIAS] <repoRef> [<appArgs>...]
88
99
Arguments:
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

2329
Example:

0 commit comments

Comments
 (0)