Sha256: 18c66c97a86cf8f7dcff38e148ee9769c9809bafc34d6c65cac8788d95be3465

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

#!/usr/bin/env ruby

ENV['LUX_PRINT_ROUTES'] = 'true'

require 'awesome_print'
require './config/application'

Lux.config.log_to_stdout = false

path = ARGV[0] || '/print-routes'

puts 'Routes for test route %s' % path.green

Lux.app.render path

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lux-fw-0.2.3 ./bin/cli/routes
lux-fw-0.2.1 ./bin/cli/routes