Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/gist/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,15 @@ Example:
dnx gist kzu/52b115ce24c7978ddc33245d4ff840f5 dotnet rocks
```

View [source gist](https://gist.github.com/kzu/52b115ce24c7978ddc33245d4ff840f5).
View [source gist](https://gist.github.com/kzu/52b115ce24c7978ddc33245d4ff840f5):

```csharp
#:package Spectre.Console@*

using Spectre.Console;

AnsiConsole.MarkupLine($"Hello world from [green]dnx[/] [yellow]gist[/] :rocket: [bold italic]{string.Join(' ', args)}[/]");
```

When running different files from the same repo+ref, the download will be performed only once.
The last download etag is used to avoid downloading on each run.
Expand Down
10 changes: 9 additions & 1 deletion src/runcs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ Example:
dnx runcs kzu/runcs@v1:run.cs dotnet rocks
```

View [source](https://github.com/kzu/runcs/blob/v1/run.cs).
View [source](https://github.com/kzu/runcs/blob/v1/run.cs):

```csharp
#:package Spectre.Console@*

using Spectre.Console;

AnsiConsole.MarkupLine($"Hello world from [green]dnx[/] [yellow]gist[/] :rocket: [bold italic]{string.Join(' ', args)}[/]");
```

> [!TIP]
> The repo does not need to be public. In that case, the same authentication
Expand Down