code: def to_h
        {
          "required" => required,
          "short" => short,
          "long" => long,
          "desc" => desc,
          "default" => default,
          "filter" => filter,
          "action" => action,
          "cast" => cast,
          "valid" => valid,
          "validate" => validate
        }.reject {|k, v| v.nil? }
      end
docs: Returns Option converted to a hash.