code: function splitToObject( command ) {
      var cmds = split( command );
      switch( cmds.length ) {
          case 0: return {};
          case 1: return { command: cmds[ 0 ] };
          default: {
              var first = cmds[ 0 ];
              cmds.shift();
              return { command: first, args: cmds };
          }
      }
  }
docs: Split a command into an object with the attributes `command` and `args`.
  
  @example
  ```js
  var obj = splitToObject( 'git commit -m "some message with spaces"' );
  console.log( obj.command ); // git
  console.log( obj.args ); // [ "commit", "-m", "some message with spaces" ]
  ```
  
  @param {string} command Command to split.
  @returns {object}