Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run/push: support "subargs" for forwarding to remote process. Fixes gh-732 #806

Merged
merged 1 commit into from
Jul 22, 2016

Commits on Jul 22, 2016

  1. run/push: support "subargs" for forwarding to remote process. Fixes t…

    …esselgh-732
    
    Uses the "subarg" syntax:
    
    t2 run index.js [foo bar baz -a 1 -b 2 --named --key=value]
    
    Will result in process.argv on the deployed program:
    
    [ '/usr/bin/node',
      '/tmp/remote-script/index.js',
      'foo',
      'bar',
      'baz',
      '-a',
      '1',
      '-b',
      '2',
      '--named',
      '--key=value' ]
    
    Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
    rwaldron committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    72141bb View commit details
    Browse the repository at this point in the history