code: function(name, options) {
          debug('.getSubGenerator', name);
          var segs = name.split('.');
          var len = segs.length;
          var idx = -1;
          var app = this;
  
          while (++idx < len) {
            var key = segs[idx];
            app = app.getGenerator(key, options);
            if (!app) {
              break;
            }
          }
          return app;
        }
docs: Get sub-generator `name`, optionally using dot-notation for nested generators.
  
  ```js
  app.getSubGenerator('foo.bar.baz');
  ```
  @name .getSubGenerator
  @param {String} `name` The property-path of the generator to get
  @param {Object} `options`
  @api public