API Reference Adze v#0.1.0

Copy Markdown View Source

Modules

Structural Elixir refactoring and outline-first code exploration.

List every alias / import / require / use directive in a file, scoped per defmodule and emitted in source order.

Command-line entry point.

Logical-definition primitive.

Intra-module call graph.

Line-based unified diff for write-op dry-runs.

extract — cut a definition (plus its private closure) out of a module into a brand-new module file.

Flip a public def (or defmacro / defguard) to its private form when find-callers reports zero external callers.

Find every project-wide reference to a Module.fun[/arity].

Render outline results as either compact text (for humans + LLMs) or JSON (for tools).

Recursive views over the intra-module call graph.

mv — reorder a logical definition within a single file.

Parse Elixir source and return its structural outline.

Thin wrapper around Igniter for project-wide write ops.

rename / rename! — globally rename a module across the project.

Module-local typespec primitives.

Mix Tasks

Run from the root of an Elixir project that depends on adze (typically {:adze, ..., only: [:dev]} in mix.exs). The mix task reads Mix.Project.config() (formatter opts, elixirc_paths) and Application.get_env(:adze, :include_attrs) from the loaded project.

Installs adze into your project