Phoenix v1.3.0-rc.2 Mix.Tasks.Phoenix.Gen.Secret

Generates a secret and prints it to the terminal.

mix phoenix.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

Functions

run(args)

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.