Created
March 4, 2015 18:31
-
-
Save glennblock/f6afb13710d019993205 to your computer and use it in GitHub Desktop.
CLI with scriptcs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gbmac:test glennblock$ scriptcs start.csx -- foo bar | |
| ScriptArgs[0]:foo | |
| ScriptArgs[1]:bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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