prezto/modules/phoenix
2017-07-17 14:29:26 +07:00
..
alias.zsh Remove alias with 1 or 2 character 2017-07-17 14:29:26 +07:00
init.zsh Add Elixir and Phoenix framework module 2017-07-17 13:47:41 +07:00
README.md Remove alias with 1 or 2 character 2017-07-17 14:29:26 +07:00

Phoenix Framework

Defines Elixir Phoenix aliases.

Aliases

  • mpn='mix phoenix.new'

  • mpr='mix phoenix.routes'

  • mps='mix phoenix.server'

  • mpgc='mix phoenix.gen.channel' generates a Phoenix channel

  • mpgh='mix phoenix.gen.html' generates controller, views, and context for an HTML resource

  • mpgj='mix phoenix.gen.json' generates controller, views, and context for a JSON resource

  • mpgm='mix phoenix.gen.model' generates an Ecto model in your Phoenix application

  • mpgs='mix phoenix.gen.secret' generates a secret

  • mec='mix ecto.create' creates the repository storage

  • med='mix ecto.drop' drops the repository storage

  • mem='mix ecto.migrate' runs the repository migrations

  • megm='mix ecto.gen.migration' generates a new migration for the repo

  • merb='mix ecto.rollback' rolls back the repository migrations

  • mecm='mix do ecto.create, ecto.migrate' creates the repository storage then start migration

  • kid='kiex default' sets default elixir version with specific version

  • kii='kiex install' installs a known release or branch

  • kil='kiex list' lists installed versions

  • kilb='kiex list branches' lists current branches

  • kilk='kiex list known' lists known releases

  • kilr='kiex list releases' lists known releases

  • kis='kiex shell' uses sub-shell with specific elixir version

  • kisu='kiex selfupdate' upgrades kiex

  • kiu='kiex use' use specific elixir version

Authors

The authors of this module should be contacted via the issue tracker.