node_modules/@adonisjs/ace/src/Kernel/index.js
/**
   * Returns group of commands under a given namespace. Commands
   * by splitted by `:` and the first item inside the array
   * is used as the namespace. All commands without a
   * namespace are grouped under the root namespace.
   *
   * @method _groupCommands
   *
   * @return {Object}
   *
   * @private
   */
Returns group of commands under a given namespace. Commands
by splitted by `:` and the first item inside the array
is used as the namespace. All commands without a
namespace are grouped under the root namespace.

@method _groupCommands

@return {Object}

@private
Returns group of commands under a given namespace . Commands by splitted by ` : ` and the first item inside the array is used as the namespace . All commands without a namespace are grouped under the root namespace . @method _groupCommands @return { Object } @private
_groupCommands () {
    return _.groupBy(this.commands, (command) => {
      const parts = command.commandName.split(':')
      return parts.length === 1 ? 'a' : parts[0]
    })
  }
_groupCommands ( ) { return _ . groupBy ( this . commands , ( command ) => { const parts = command . commandName . split ( ':' ) return parts . length === 1 ? 'a' : parts [ 0 ] } ) }
Returns group of commands under a given namespace.
Returns group of commands under a given namespace .