cli option to launch a specific profile

This commit is contained in:
Eugene Pankov
2018-12-16 23:13:14 +01:00
parent fe75aab724
commit 1da7c85973
3 changed files with 20 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ export function parseArgs (argv, cwd) {
.command('run [command...]', 'run a command in the terminal', {
command: { type: 'string' },
})
.command('profile [profileName]', 'open a tab with specified profile', {
profileName: { type: 'string' },
})
.command('paste [text]', 'paste stdin into the active tab', yargs => {
return yargs.option('escape', {
alias: 'e',