tmuxinator-save
v1.0.1
Published
CLI tool to save tmux sessions as tmuxinator config files
Downloads
160
Readme
tmuxinator-save
A CLI tool to save existing tmux sessions as tmuxinator configuration files.
Installation
You can install this package globally using npm:
npm install -g tmuxinator-save
Running locally
- Clone this repository
- Run
npm install
to install dependencies - Run
npm link
to make the command available globally
Usage
tmuxinator-save <session-name> <config-name>
Arguments:
session-name
: The name of the tmux session you want to saveconfig-name
: The name for the tmuxinator config file (without .yml extension)
The tool will create a tmuxinator configuration file at ~/.config/tmuxinator/<config-name>.yml
Example:
tmuxinator-save mysession myproject
This will create a tmuxinator config file at ~/.config/tmuxinator/myproject.yml
based on the current state of the tmux session named "mysession".