code: function init() {
    const startTime = time();
  
    process.on('unhandledRejection', handleError);
  
    const explorer = cosmiconfig('stylelint');
    let configPromise;
  
    if (argv.config) {
      // Ref: https://github.com/davidtheclark/cosmiconfig#explorerload
      configPromise = explorer.load(argv.config);
    } else {
      configPromise = explorer.search();
    }
  
    configPromise
      .then(validate)
      .then(getUserRules)
      .then(findDeprecatedStylelintRules)
      .then(printBegin)
      .then(printUserCurrent)
      .then(printAllAvailable)
      .then(printUserUnused)
      .then(printUserDeprecated)
      .then(printConfiguredUnavailable)
      .then(printTimingAndExit.bind(null, startTime))
      .catch(handleError);
  }
docs: Hit it