├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE.md ├── Makefile ├── README.md ├── TODO.md ├── bin └── ttab ├── doc └── ttab.md ├── man └── ttab.1 ├── package.json ├── test ├── .fixtures │ ├── testscript │ └── utils.scpt ├── 00 opens new tab in front window ├── 01 option -w opens new tab in new window ├── 02 option -d sets working dir ├── 03 option -d with empty string does not set working dir ├── 04 new tab inherits working dir ├── 05 script with arguments is executed ├── 06 multiple shell commands are executed ├── 07 option -g does not activate Terminal ├── 08 option -G does not activate the new tab or window ├── 09 option -s opens tab with specified settings ├── 10 option -t sets custom title ├── 11 option -a targets a specific terminal application ├── setup_dir └── standard CLI options │ ├── Option --help prints CLI help │ └── Option --version prints version └── ttab.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | 2 | # Do not publish tests to the npm registry. 3 | test/ 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/TODO.md -------------------------------------------------------------------------------- /bin/ttab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/bin/ttab -------------------------------------------------------------------------------- /doc/ttab.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/doc/ttab.md -------------------------------------------------------------------------------- /man/ttab.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/man/ttab.1 -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/package.json -------------------------------------------------------------------------------- /test/.fixtures/testscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/.fixtures/testscript -------------------------------------------------------------------------------- /test/.fixtures/utils.scpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/.fixtures/utils.scpt -------------------------------------------------------------------------------- /test/00 opens new tab in front window: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/00 opens new tab in front window -------------------------------------------------------------------------------- /test/01 option -w opens new tab in new window: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/01 option -w opens new tab in new window -------------------------------------------------------------------------------- /test/02 option -d sets working dir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/02 option -d sets working dir -------------------------------------------------------------------------------- /test/03 option -d with empty string does not set working dir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/03 option -d with empty string does not set working dir -------------------------------------------------------------------------------- /test/04 new tab inherits working dir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/04 new tab inherits working dir -------------------------------------------------------------------------------- /test/05 script with arguments is executed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/05 script with arguments is executed -------------------------------------------------------------------------------- /test/06 multiple shell commands are executed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/06 multiple shell commands are executed -------------------------------------------------------------------------------- /test/07 option -g does not activate Terminal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/07 option -g does not activate Terminal -------------------------------------------------------------------------------- /test/08 option -G does not activate the new tab or window: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/08 option -G does not activate the new tab or window -------------------------------------------------------------------------------- /test/09 option -s opens tab with specified settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/09 option -s opens tab with specified settings -------------------------------------------------------------------------------- /test/10 option -t sets custom title: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/10 option -t sets custom title -------------------------------------------------------------------------------- /test/11 option -a targets a specific terminal application: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/11 option -a targets a specific terminal application -------------------------------------------------------------------------------- /test/setup_dir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/setup_dir -------------------------------------------------------------------------------- /test/standard CLI options/Option --help prints CLI help: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/standard CLI options/Option --help prints CLI help -------------------------------------------------------------------------------- /test/standard CLI options/Option --version prints version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/test/standard CLI options/Option --version prints version -------------------------------------------------------------------------------- /ttab.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/ttab/HEAD/ttab.rb --------------------------------------------------------------------------------