lib/jets/commands/help/runner.md in jets-4.0.4 vs lib/jets/commands/help/runner.md in jets-4.0.5
- old
+ new
@@ -12,6 +12,29 @@
```ruby
puts "hello world: #{Jets.env}"
```
$ jets runner file://script.rb
- hello world: development
\ No newline at end of file
+ hello world: development
+
+
+Optionally pass in an argument on the command line:
+
+ Usage: jets runner file|Ruby code [args]
+
+The argument will be assigned to the `args` variable.
+
+Example:
+
+ $ jets runner 'puts "hello world with args: #{args}"' 123
+ hello world with args: 123
+
+
+Example with script.rb:
+
+```ruby
+puts "hello world with args: #{args}"
+```
+
+ $ jets runner file://script.rb 123
+ hello world with args: 123
+