Scripting C# using Roslyn and with automated installation of dependencies (for now using nuget package but expandable): scriptcs.

More details can be found here and a list of available pack here (Script Packs master list). I don’t understand difference between a pack and a nugetpack. Second one can also be used with a simple:

nuget install nuget_name -o Packages

but a scriptcs -restore is needed to copy binaries to bin directory.

PowerArgs – Command args library

A library to add command line arguments discribed as attributed properties with auto-documentation, validation, interactive mode with completion: adamabdelhamed/PowerArgs · GitHub.

Nuget: Install-Package PowerArgs

For more command line library, you can refer to Get bored of commandline option reading.