code: function getChoices() {
      return {
        dependencies: () => {
          return plugin.loadModules()
          .then(modules => {
            return _.map(modules, m => {
              return {
                value: m.getName(),
                name: icli.format.info(m.getName())
              };
            });
          });
        }
      };
    }
docs: Build the choices for "list" and "checkbox" parameters
  @param {Array} endpoints - the list o available endpoint specifications
  @returns {Object} - collection of lists of choices for "list" and "checkbox" parameters