Update README.md

master
Ivan Klymenchenko 3 years ago
parent 6695015ad0
commit 3a0c09c7e3

@ -1,6 +1,10 @@
# Smug - tmux session manager.
Inspired by [tmuxinator](https://github.com/tmuxinator/tmuxinator) and [tmuxp](https://github.com/tmux-python/tmuxp)
Inspired by [tmuxinator](https://github.com/tmuxinator/tmuxinator) and [tmuxp](https://github.com/tmux-python/tmuxp).
Smug automates your tmux workflow. You can create a single configuration file, and smug will create all required windows and panes for it.
![gif](https://i.imgur.com/CfLgrz5.gif)
## Usage

@ -39,8 +39,10 @@ func main() {
switch options.Command {
case "start":
fmt.Println("Starting a new session...")
err = smug.StartSession(*config, options.Windows)
case "stop":
fmt.Println("Terminating session...")
err = smug.StopSession(*config)
default:
err = fmt.Errorf("Unknown command %q", options.Command)

Loading…
Cancel
Save