Sha256: d32eb5b94d14d68252bf13c6544aa5156dbd90f9cdde02dc4a642a9784163dd6

Contents?: true

Size: 158 Bytes

Versions: 12

Compression:

Stored size: 158 Bytes

Contents

# encoding: utf-8

require 'logger'
require 'tty-command'

logger = Logger.new('dev.log')

cmd = TTY::Command.new(output: logger, color: false)

cmd.run(:ls)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tty-command-0.8.1 examples/logger.rb
tty-command-0.8.0 examples/logger.rb
tty-command-0.7.0 examples/logger.rb
tty-command-0.6.0 examples/logger.rb
tty-command-0.5.0 examples/logger.rb
tty-command-0.4.0 examples/logger.rb
tty-command-0.3.3 examples/logger.rb
tty-command-0.3.2 examples/logger.rb
tty-command-0.3.1 examples/logger.rb
tty-command-0.3.0 examples/logger.rb
tty-command-0.2.0 examples/logger.rb
tty-command-0.1.0 examples/logger.rb