View Source mix mishka.ui.add (Mishka Chelekom v0.0.2-alpha.1)

A Mix Task for generating and configuring Phoenix components from a repo

This section is part of the CLI community version, which allows you to download components, templates, and presets from another repository and add them to the priv directory of your project—without requiring any additional plugins. Additionally, you can specify your own custom URLs to share components you've developed with your team. This CLI provides functionalities to facilitate such sharing. For more details, please refer to the documentation on the https://mishka.tools/chelekom website.

Official Library Repository:

Official Community Version Repository:

Example

mix mishka.ui.add repo --example arg

Options

  • --no-github - Specifies a URL without github replacing
  • --headers - Specifies a repo url request headers

Summary

Types

@type t() :: %Mix.Tasks.Mishka.Ui.Add{
  components: [String.t()],
  files: [map()],
  name: String.t(),
  type: String.t()
}

Functions