DannyBen/runfile

View on GitHub
examples/import/runfile

Summary

Maintainability
Test Coverage
title 'Importing other funfiles'
summary 'Reference other runfiles to blend them seamlessly as one command line interface'

import 'tasks/*'
import 'more_tasks/spec', anything: 'Context Values'

usage 'say MESSAGE'
action 'say' do |args|
  say "in main runfile, with #{args['MESSAGE']}"
end