Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExecuting the outputted script with arguments though command line #52
Comments
|
Can you provide an example script and command line call? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I usually use global variable call
arguments, which is an array can be used for passing arguments to the jsx file when I execute a script from command line, butextendscriptroutputted file can't be used for doing this, when I log this variable I got a function....Then I came up with a quick solution, that is I put single line at top of outputted file with
and I can access my command line arguments correctly with
scriptArgs.Dose anybody has better solution?