Skip to content

Instantly share code, notes, and snippets.

@glennblock
Created March 4, 2015 18:31
Show Gist options
  • Select an option

  • Save glennblock/f6afb13710d019993205 to your computer and use it in GitHub Desktop.

Select an option

Save glennblock/f6afb13710d019993205 to your computer and use it in GitHub Desktop.
CLI with scriptcs
gbmac:test glennblock$ scriptcs start.csx -- foo bar
ScriptArgs[0]:foo
ScriptArgs[1]:bar
Console.WriteLine(string.Format("ScriptArgs[0]:{0}", Env.ScriptArgs[0]));
Console.WriteLine(string.Format("ScriptArgs[1]:{0}", Env.ScriptArgs[1]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment