I want to list all cases in an enum

Generate count and allCases for any enumeration that is marked with AutoCases phantom protocol.

Stencil Template

Example output:

extension BetaSettingsGroup {
  static let count: Int = return 8

  static let allCases: [BetaSettingsGroup] = [
      .featuresInDevelopment,
      .advertising,
      .analytics,
      .marketing,
      .news,
      .notifications,
      .tech,
      .appInformation
    ]
}