Access to command-line arguments in Numbat #258
justind000
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
I agree. Basic I/O would certainly be helpful. See also #262 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it possible to load a script from the command line and also specify something to execute? I’m thinking I would define units and functions in the script and then also specify a call to the function from the command line invocation |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think adding a way for a script to get a command-line argument would be useful.
The use-case might be something like this: a script has a function that converts
x
toy
. You would run the scriptnumbat script.nbt x
. The script would then convertx
toy
.Or allowing something like cin to take prompted input.
Beta Was this translation helpful? Give feedback.
All reactions