How to pass arguments to Ruby script on Heroku's CLI

前端 未结 0 781
后悔当初
后悔当初 2020-12-19 16:15

In Ruby you can pass arguments to a script in the CLI like this:

$ ruby my_script.rb arg1 arg2

which can be read in the script like this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题