View Source Pane (Pane v0.5.0)

Paginated data viewer for IEx. Useful for inspecting large collections and deeply nested structs.

Usage

iex> data =  File.read!("mix.exs") # Or some other really long string
iex> Pane.console(data)
defmodule Pane.Mixfile do
use Mix.Project

@source_url "https://github.com/codedge-llc/pane"
@version "0.5.0"

def project do
  [
    app: :pane,
    build_embedded: Mix.env() == :prod,
    deps: deps(),
    dialyzer: dialyzer(),
    docs: docs(),
    elixir: "~> 1.13",
    name: "Pane",

[1 of 5] (j)next (k)prev (f)first (l)last (q)quit

Available Commands

  • j - Next page
  • k - Previous page
  • f - First page
  • l - Last page
  • q - Quit

Summary

Functions

Paginates data and starts a pseudo-interactive console.

Functions

@spec console(any()) :: no_return()

Paginates data and starts a pseudo-interactive console.