mix verified_pubsub.install (VerifiedPubSub v0.1.0)

Copy Markdown View Source

Installs VerifiedPubSub into a project.

mix igniter.install verified_pubsub

Adds :verified_pubsub to import_deps in the formatter config. Creates an empty manifest whose :pubsub is the Phoenix.PubSub that your application already starts. When the application starts no Phoenix.PubSub, the task adds one to its supervision tree.

Options

  • --manifest - the module of the manifest to create. Defaults to MyApp.Topics.
  • --pubsub - the name of the Phoenix.PubSub that the manifest uses. Defaults to the one that the application starts, or else MyApp.PubSub.