Phoenix v1.3.0-rc.2 Mix.Tasks.Phx.Gen.Secret
Generates a secret and prints it to the terminal.
mix phx.gen.secret [length]
By default, mix phoenix.gen.secret generates a key 64 characters long.
The minimum value for length
is 32.
Summary
Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.