tmuxinator-save
v1.0.1
Published
CLI tool to save tmux sessions as tmuxinator config files
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-saveRunning locally
- Clone this repository
- Run
npm installto install dependencies - Run
npm linkto 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 myprojectThis will create a tmuxinator config file at ~/.config/tmuxinator/myproject.yml based on the current state of the tmux session named "mysession".
