Sha256: 35e36744d8ee3de3119c496b9c4a2cccfdd05b6f496ddfae659c589fcee6ad1a

Contents?: true

Size: 691 Bytes

Versions: 27

Compression:

Stored size: 691 Bytes

Contents

class Eco::API::UseCases::Default::People::Amend::CleanUnknownTags
  class Cli < Eco::API::UseCases::Cli
    str  = 'Cleans from filter_tags those tags that are not present in the tagtree '
    str << '(as per tagtree.json file). '
    str << 'It will preserve standard register tags of most common registers (i.e. EVENT, RISK).'
    desc str

    add_option("-clean-register-tags", "Will also try to remove register tags") do |options|
      options.deep_merge!(usecase: {clean_register_tags: true})
    end

    add_option("-clean-archived", "Will also try to remove archived tags") do |options|
      options.deep_merge!(usecase: {clean_archived: true})
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
eco-helpers-3.0.1 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.0 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-2.7.25 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-2.7.24 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-2.7.23 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-2.7.22 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-2.7.21 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb