Raxol.PreCommit.Progress (Raxol v2.0.1)

View Source

Progress indicator for pre-commit checks.

Provides real-time feedback during check execution with animated indicators and clear status updates.

Summary

Functions

Returns a specification to start this module under a supervisor.

Mark check as completed successfully.

Check if progress display is enabled.

Mark check as failed.

Initialize a new check with pending status.

Update check status to running.

Stop the progress indicator and clean up.

Mark check as having warnings.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

complete_check(name, elapsed_ms \\ nil)

Mark check as completed successfully.

enabled?(config)

Check if progress display is enabled.

fail_check(name, reason \\ nil)

Mark check as failed.

handle_manager_call(request, from, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.

init_check(name)

Initialize a new check with pending status.

start_check(name)

Update check status to running.

start_link(init_opts \\ [])

stop()

Stop the progress indicator and clean up.

warn_check(name, reason \\ nil)

Mark check as having warnings.