MishkaChelekom.MCP.Tools.GenerateComponents (Mishka Chelekom v0.0.9-alpha.16)

Copy Markdown View Source

Generate mix commands for creating multiple Mishka Chelekom components at once.

Returns the appropriate mix mishka.ui.gen.components command with options.

Usage

generate_components(components: "button,alert,modal")
generate_components(components: "all", import: true, global: true)

Options

  • components - Comma-separated list of components, or "all" for all components
  • import - Generate import macro file (default: false)
  • helpers - Include helper functions in import (default: false)
  • global - Replace CoreComponents with Mishka components (default: false)
  • exclude - Components to exclude (comma-separated)
  • module_prefix - Prefix for module names
  • component_prefix - Prefix for function names

Summary

Functions

get_schema(atom)

mcp_schema(data)

mcp_schema!(data)