title: passing arguments to different CLI app from node.js script
body: <p>I'm creating a node.js CLI to automate my tasks , one of the tasks is <code>git</code> and the init, add,commit, remote are working just fine now the problem within the push .</p>
  
  <p>Note I use shellJS to execute the commands .</p>
  
  <p>the code I tried is : </p>
  
  <pre><code>shell.exec('git push origin master');
  </code></pre>
  
  <p>now the problem is I get this error :</p>
  
  <pre><code>bash: /dev/tty: No such device or address
  error: failed to execute prompt script (exit code 1)
  fatal: could not read Username for 'https://github.com': Invalid argument
  </code></pre>
  
  <p>now how to pass the username to the git push ? or simply run the git push from inside out the script I mean when I finish the others tasks I should use something to run the git push like running a bat file (I tried that too).</p>