Raxol.Plugins.Examples.GitIntegrationPlugin (Raxol v2.0.1)

View Source

Git Integration Plugin for Raxol Terminal

Provides comprehensive git repository management and visualization. Demonstrates:

  • Git command execution and parsing
  • Repository status monitoring
  • Branch management and switching
  • Commit history visualization
  • Diff viewing
  • Stage/unstage operations
  • Real-time repository watching
  • Git graph visualization

Summary

Functions

checkout_branch(branch)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

commit(message)

create_branch(name)

get_status()

handle_keypress(key, state)

manifest()

refresh()

render_panel(state, width, height)

stage_file(file)

start_link(init_opts \\ [])

status_line_info(state)

unstage_file(file)