tmuxp convert

Convert workspace configuration files between YAML and JSON formats.

Command

Convert workspace files between YAML and JSON format.

Usage

usage: tmuxp convert [-h] [--yes] workspace-file

Examples

$ tmuxp convert workspace.yaml
$ tmuxp convert workspace.json
$ tmuxp convert -y workspace.yaml

Positional Arguments

workspace_file workspace-file

checks tmuxp and current directory for workspace files.

Default: None | Type: str | Required

Options

--yes, -y

always answer yes

Default: False

Basic usage

$ tmuxp convert /path/to/file.yaml
$ tmuxp convert /path/to/file.json

tmuxp automatically will prompt to convert .yaml to .json and .json to .yaml.