Commit Graph

30 Commits (sendkeys-timeout)

Author SHA1 Message Date
Ivan f5c5c51f2f
feat: Use .smug.yml as a default configuration file 2 years ago
Ivan abc059242d
refactor: Code cleanup & improvements
* fix: Fprintf -> Fprint

* fix: Golinter fixes

* refactor: Use pointer semantics for config
2 years ago
Ivan 856940b719
fix: Use ENV variable instead of session name 2 years ago
Ivan Klymenchenko f6060cc6b4 refactor: Refactor options.go 2 years ago
Ivan d053a9d41a
feat: Make stop working without session name 2 years ago
Ivan c2d915d4e4
Revert "feat: Allow stopping smug session without specifying a project" (#86)
This reverts commit 6c4f6e067a.
2 years ago
Ivan 6c4f6e067a
feat: Allow stopping smug session without specifying a project 2 years ago
Ivan 5045599de6
Add new flag `-i` that allows to create new windows inside current session 2 years ago
Pim Snel a95d13315b
Complete inline help with all available commands (#61) 3 years ago
Ivan 1bf548bb96
Allow passing custom settings (#60) 3 years ago
Pim Snel 756faa8e1a
Make documentation complete (#53) 3 years ago
Ivan 74fe70077d
Allow user to dump current tmux session (#45) 3 years ago
Egor Kovetskiy 0e3b9a465f
[enhancement] Pass version via ldflags, trim GOPATH in stacktraces (#50)
This way you can avoid unnecessary commits and unnecessary build info.
3 years ago
Ivan 9df91519b1
Add list command (#43)
* [feature] Add "list" command
3 years ago
Ivan d57bf47b79
Fix incorrect switch statement (#41) 3 years ago
Ivan Klymenchenko 93483254c0 Update version to v0.1.8 3 years ago
Ivan ee70a539e0
Run os.Exit on error (#27) 3 years ago
Ivan e0a4407559
New project commands (#24)
* Add new/edit commands
3 years ago
Ivan 40106e141d
Create a default window, and then kill it, instead of using (#23)
* Create a default window, and then kill it, instead of using
3 years ago
Ivan Klymenchenko 0880b52738 Add context_test.go 3 years ago
Ivan 73c5b7538e
Add -f option for portable configs (#21)
* Add -f option for portable configs
3 years ago
Ivan Klymenchenko 6892d080a8 v0.1.6 3 years ago
Ivan b693c55fd6
Replace docopt (#20)
* Replace docopt with pflag
3 years ago
Ivan fb9a652eef
Increase test coverage (#19)
* Increase test coverage for smug.go

* Add context struct

* Test commander_test.go

* Test commander_test.go
3 years ago
Ivan 2a6aec6ce7
Fix creating windows (#17)
* Add --debug flag
* Fix creating windows
3 years ago
Ivan f9b4217af3
Allow creating sessions without nesting (#16)
* Allow creating sessions without nesting
* New `--attach` flag allows you to switch a client when you're inside tmux session
* If the session already exists, Smug won't throw an error. Instead, it will attach you to an existing session
3 years ago
Ivan e9ae967962
Terminate session on fail (#12)
Rollback changes if Start() returns an error
3 years ago
Ivan Klymenchenko fd5dbedf12 Support passing windows to the stop command 3 years ago
Ivan Klymenchenko 3a0c09c7e3 Update README.md 3 years ago
Ivan Klymenchenko 73c8669d80 Init 3 years ago