Workspace ManagerconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

Workspace Manager: API reference

Edit this page on GitHub

LibTmuxWorkspace API reference

LibTmuxWorkspace 0.1.1 · Source

Use LibTmuxWorkspace to read, validate, plan and load workspace files. Validation and planning do not contact tmux. Applying a plan can create resources and execute shell input.

Read the package guide for installation and complete examples.

API declarations

Follow a declaration for its signature, members, documentation, and source.

Workspace files

Base.iterate
LibTmuxWorkspace.CommandConfig
Inert pane text. enter=nothing inherits the pane's submission policy.
LibTmuxWorkspace.ConfigLimits
Bound document bytes, nesting and total values before schema normalization.
LibTmuxWorkspace.PaneConfig
LibTmuxWorkspace.parse_config
LibTmuxWorkspace.read_config
LibTmuxWorkspace.validate
LibTmuxWorkspace.WindowConfig
LibTmuxWorkspace.WorkspaceConfig
Validated, owned values. Version 1 also accepts unversioned tmuxp documents.
LibTmuxWorkspace.WorkspaceDocument
Parsed data plus its optional absolute source path. Call validate before use.

Building and freezing

LibTmuxWorkspace.apply
Base.showerror
LibTmuxWorkspace.expand
LibTmuxWorkspace.ExpandedPane
LibTmuxWorkspace.ExpandedWindow
LibTmuxWorkspace.ExpandedWorkspace
A workspace with explicit directories, environment values and ordered commands.
LibTmuxWorkspace.freeze
LibTmuxWorkspace
LibTmuxWorkspace.plan
LibTmuxWorkspace.PlanStep
An inert effect with 1-based config window/pane positions, not tmux indices. nothing denotes session/global scope. arguments contains owned values.
LibTmuxWorkspace.run_before_script
LibTmuxWorkspace.ScriptResult
Bounded script output and direct-child exit evidence; the child has been reaped.
LibTmuxWorkspace.WorkspaceApplyResult
Known creations, completed plan steps and effects requiring caller inspection.
LibTmuxWorkspace.WorkspacePlan

Command line

Base.close
LibTmuxWorkspace.install_cli
LibTmuxWorkspace.main

Errors

LibTmuxWorkspace.BeforeScriptError
LibTmuxWorkspace.WorkspaceApplyError
LibTmuxWorkspace.WorkspaceConfigError
A stable diagnostic code and document path, without interpolated config values.
Esc
Search in

Type to search.

Reference previewOpen reference