function Option(flags, description, autocomplete) {
    _classCallCheck(this, Option);

    this.flags = flags;
    this.required = ~flags.indexOf('<');
    this.optional = ~flags.indexOf('[');
    this.bool = !~flags.indexOf('-no-');
    this.autocomplete = autocomplete;
    flags = flags.split(/[ ,|]+/);
    if (flags.length > 1 && !/^[[<]/.test(flags[1])) {
      this.assignFlag(flags.shift());
    }
    this.assignFlag(flags.shift());
    this.description = description || '';
  }
Initialize a new `Option` instance.

@param {String} flags
@param {String} description
@param {Autocomplete} autocomplete
@return {Option}
@api public