You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have and maintain a number of bash scripts to do multiple tasks around a dev infrastructure.
I was quite excited when I saw fleck because it gave me hope to finally use a decent language and still benefit from not needing to install anything specific to run my scripts on a target machine.
Now.. My scripts need CLI arguments, like deploy -on target_machine some_project. But I can't seem to understand how a fleck script would get those CLI args...
Imagining the contrived example of a sillyecho script, what I was looking for was something like:
Hi!
I have and maintain a number of bash scripts to do multiple tasks around a dev infrastructure.
I was quite excited when I saw fleck because it gave me hope to finally use a decent language and still benefit from not needing to install anything specific to run my scripts on a target machine.
Now.. My scripts need CLI arguments, like
deploy -on target_machine some_project
. But I can't seem to understand how a fleck script would get those CLI args...Imagining the contrived example of a
sillyecho
script, what I was looking for was something like:Where
ARGV
would be some construct that would give me the arguments from the CLI.This would be invoked like:
sillyecho One Two Three
And would output:
Is this possible?
If not, could this be added in?
Thanks!
The text was updated successfully, but these errors were encountered: