Commit Graph

29 Commits

Author SHA1 Message Date
Andrew Kofink
960085a50a chore: Fix rubocop failures
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
2024-03-31 14:40:26 -04:00
Adam Strickland
e569aa0aa6 changes bootstrap to accept array of args (vs varargs) 2018-06-07 15:15:00 -07:00
Adam Strickland
589da5e69b fixes specs 2018-06-02 09:06:38 -05:00
Adam Strickland
cd1fa02624 moves executable bootstrap logic to Tmuxinator::Cli.bootstrap
adds tests for same
includes bootstrap tests for both with and without a local project config
also ignores local .env
2018-05-27 12:29:44 -05:00
Adam Strickland
f9e6d1fe64 formalizes set of reserved commands and modifies executable to use it 2018-05-27 10:10:10 -05:00
Felix Eckhofer
c11791495a Always prefer local lib over other versions (#603)
`>>` appends to LOAD_PATH, which means another installation might take
precedence. This bug was introduced in 2903c70e.
2018-04-03 19:40:48 -04:00
Pete Doherty
a25c61d17f Add project config file option to tmuxinator start (#601)
* parameterized-yaml - first pass at parameterized yml cli option

* parameterized-yaml - change yaml_filepath to project-config/project_config

* parameterized-yaml - add project config file cli specs

* parameterized-yaml - add additional project_config Config#validate specs

* fix merge conflict

* parameterized-yaml - refactor Config#validate in order to satiate code climate

* parameterized-yaml - refactor Cli#create_project to satiate Code Climate

* parameterized-yaml - fix regression in Cli#create_project caused by Code Climate fix

* parameterized-yaml - document Cli#create_project attach/detach assignment logic

* parameterized-yaml - bump version to 0.11.0

* parameterized-yaml - use keyword args in calls to Config#exists?


Closes #595.
2018-03-30 16:02:05 -04:00
Adam Strickland
2e297d1111 updates rubocop to 0.46.0
used by CodeClimate

- removes old cops
- updates source to accommodate new cops
2017-05-19 11:05:15 -05:00
ncoop
2224c67ec8 Alias mux to tmuxinator; Remove mux symlink.
Use abbr for fish.
2016-08-10 23:07:40 -07:00
Jonathan Arnett
6d0a1aef69 Implemented passing args to YAML 2015-10-06 18:05:38 -04:00
Adam Strickland
da53a640a0 Adds tmuxinator local
- refactors Tmuxinator::Cli#create_project to use keyword args (so as to
  more easily support using/not using a name
- adds a nowindows test case
- moves file loading to Tmuxinator::Project::load
- moves project validation to Tmuxinator::Project#validate!
- alters bin/tmuxinator to accept a no-arg invocation, executing the
  local command in that case
2015-09-21 15:15:44 -05:00
Christopher Chow
767dac18c3 Reduce duplication in CLI descriptions. 2014-12-01 23:22:31 +11:00
Christopher Chow
0b2cf3bae8 [#262] Fix completions for zsh
The old completions used compctl. Switch to use modern compdef instead.
2014-12-01 23:07:18 +11:00
Jon Rowe
dd52cd19be [Closes #199] Remove dependency on activesupport
- remove pry from tmux bin, not a runtime dependency
- replace activesupport implementations with alternate calls
2014-02-24 12:14:40 +11:00
Christopher Chow
b1d70ff7c5 [Fixes #182] Make commands take precendence over project names.
This deals with the case where projects have the same name as a
command. Make sure to run the command over starting the project.
2014-01-05 01:53:26 +11:00
Christopher Chow
8b4c8b3b78 Fix an issue where command aliases were being ignored. 2013-08-12 21:17:23 +10:00
Christopher Chow
babbdca3ab Revert moving the completion scripts to bin.
rbenv adds a shim to all Ruby executables which breaks the completion
scripts.

Revert "Add the slow completion scripts back to bin."

This reverts commit f94c56446c.
2013-08-06 20:52:07 +10:00
Christopher Chow
f94c56446c Add the slow completion scripts back to bin. 2013-08-06 20:44:51 +10:00
Christopher Chow
38f0e3523a Fix a bug in the executable. 2013-07-18 00:01:44 +10:00
Christopher Chow
d3af1b8c58 Add shortcut for launching projects. 2013-07-17 22:56:30 +10:00
Christopher Chow
d78c813b28 Refactor shell completion. 2013-06-08 02:54:05 +10:00
Christopher Chow
2903c70e97 Refactor CLI class using thor.
- Introduce a separate Config class for inspection of the environment
- Specs are still need to be written.
2013-05-30 00:26:29 +10:00
Christopher Chow
f9bdcc3bb6 Cleanup gemspec using more recent idioms.
This makes the gemspec follow idioms that are present when creating a
gem using the bundle gem command. This means we can remove the
development dependancy on jeweler.
2013-05-28 21:05:23 +10:00
Doug Daniels
b0fd88a8e0 [Fixes #94] Fix autocompletion script.
Updating tmuxinator_completion to work on OSX and to auto-complete
project_name *.yml parameters.

- Updated completion to prompt for project_name parameter only for
  (start, open, copy, delete)
- Fixed *.yml find to be home directory agnostic using basename instead
  to get the filename without the path
2013-05-28 20:18:44 +10:00
Allen Bargi
9659b42929 moved tmuxinator_completion to bin directory 2011-10-10 14:39:28 +02:00
Dane O'Connor
45b553768f use 'mux' for short hand alias 2011-07-09 14:34:02 -04:00
Dane O'Connor
204b27c0a7 have exe call cli 'run' instead of 'start' 2011-07-07 11:07:25 -04:00
Dane O'Connor
bca2861a4a added 'tor' symlink alias for tmuxinator 2011-06-27 01:16:44 -04:00
Allen Bargi
d0f8ca5851 basic functionality 2010-12-10 22:21:41 +01:00