gist 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global gist --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local gist --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=gist&version=0.2.0
                    
nuke :add-package gist --version 0.2.0
                    

Run C# code programs from GitHub gists.

Usage: [dnx] gist GIST_REF [args]
    GIST_REF  Reference to gist file to run, with format owner/gist[@commit][:path]
              @commit optional gist commit (default: default branch)
              :path optional path to file in gist (default: program.cs or first .cs file)

              Examples:
              * kzu/0ac826dc7de666546aaedd38e5965381                 (tip commit and program.cs or first .cs file)
              * kzu/0ac826dc7de666546aaedd38e5965381@d8079cf:run.cs  (explicit commit and file path)

    args      Arguments to pass to the C# gist program

The gist does not need to be public. In that case, the same authentication used by your local git will be used to access the gist, via the Git Credential Manager.

Example:

dnx gist kzu/52b115ce24c7978ddc33245d4ff840f5 dotnet rocks

View source gist.

Sponsors

Clarius Org MFB Technologies, Inc. Torutek DRIVE.NET, Inc. Keith Pickford Thomas Bolon Kori Francis Toni Wenzel Uno Platform Reuben Swartz Jacob Foshee alternate text is missing from this package README image Eric Johnson David JENNI Jonathan Charley Wu Ken Bonny Simon Cropp agileworks-eu Zheyu Shen Vezel ChilliCream 4OTC Vincent Limo Jordan S. Jones domischell Justin Wendlandt Adrian Alonso Michael Hagedorn Sebastien Lebreton torutek

Sponsor this project  

Learn more about GitHub Sponsors

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.3.1 182 8/30/2025
0.3.0 168 8/30/2025
0.2.0 175 8/29/2025
0.1.2 172 8/28/2025
0.1.1 167 8/28/2025
0.1.0 170 8/28/2025