Sha256: 14385b279804dd4e70c31c2bac4594dfe70e994556f88cc1a7efd4b57d0f4480

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

#!/usr/bin/env ruby

talks_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(talks_dir) unless $LOAD_PATH.include?(talks_dir)
require 'talks'

command = (ARGV.first == 'talks' ? ARGV[1..-1] : ARGV)
command_with_hooks = Talks.add_hooks command

exec command_with_hooks

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
talks-0.2.0 bin/talking
talks-0.1.0 bin/talking