Sha256: b363408d6a473ca012063ff0c47bcf6c2683c753c9d1a0743316d365541ece26

Contents?: true

Size: 351 Bytes

Versions: 30

Compression:

Stored size: 351 Bytes

Contents

require 'rainbow'
require 'ansi/logger'


@log = ANSI::Logger.new(STDOUT)


def briar_tags(args)
  arg_len = args.count

  if arg_len != 0
    @log.warn{ "expected no arguments but found '#{args}' - what can I do with that!?!" }
    exit 1
  end

  cmd = 'cucumber -d -f Cucumber::Formatter::ListTags'
  puts "#{Rainbow(cmd).green}"
  system(cmd)
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
briar-2.0.5 bin/briar_tags.rb
briar-2.0.4 bin/briar_tags.rb
briar-2.0.3 bin/briar_tags.rb
briar-2.0.2 bin/briar_tags.rb
briar-2.0.1 bin/briar_tags.rb
briar-2.0.0 bin/briar_tags.rb
briar-1.4.2 bin/briar_tags.rb
briar-1.4.1 bin/briar_tags.rb
briar-1.3.2 bin/briar_tags.rb
briar-1.3.1 bin/briar_tags.rb
briar-1.3.0 bin/briar_tags.rb
briar-1.2.2 bin/briar_tags.rb
briar-1.2.1 bin/briar_tags.rb
briar-1.2.0 bin/briar_tags.rb
briar-1.1.9 bin/briar_tags.rb
briar-1.1.8 bin/briar_tags.rb
briar-1.1.7 bin/briar_tags.rb
briar-1.1.6 bin/briar_tags.rb
briar-1.1.5 bin/briar_tags.rb
briar-1.1.4 bin/briar_tags.rb