distillery icon indicating copy to clipboard operation
distillery copied to clipboard

docs wrong for custom_commands (rpc)

Open bryanhuntesl opened this issue 6 years ago • 1 comments

Steps to reproduce

https://hexdocs.pm/distillery/extensibility/custom_commands.html

release_ctl eval --mfa "Mix.Tasks.MyTask.run/1" --argv -- "$@"

Should be :

release_ctl eval "Mix.Tasks.MyTask.run/1" --argv -- "$@"

Folks are getting mixed up by that, and also applying it incorrectly when attempting to

release_remote_ctl rpc "Mix.Tasks.MyTask.run/1" --argv -- "$@"

bryanhuntesl avatar Sep 10 '19 16:09 bryanhuntesl

This is also wrong, distillery understands ..

release_remote_ctl rpc "Mix.Tasks.MyTask.run()"

bryanhuntesl avatar Sep 11 '19 10:09 bryanhuntesl