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.21 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.20 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.19 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.18 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.17 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.16 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.15 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.14 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.13 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.12 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.11 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.10 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.9 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.8 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.7 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.6 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.5 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.4 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.3 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb
eco-helpers-3.0.2 lib/eco/api/usecases/default/people/amend/cli/clean_unknown_tags_cli.rb