Sha256: 86436432ee226f8ac39ad024415bf4ba1394a73bb42f8ddb95a345690d69563c

Contents?: true

Size: 804 Bytes

Versions: 62

Compression:

Stored size: 804 Bytes

Contents

#!/usr/bin/env ruby

STDOUT.sync = true
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'j1'
require 'mercenary'

Mercenary.program(:j1) do |p|

  p.version J1::VERSION
  p.description 'J1 Template MDE 4 is a gem-based Template made for Jekyll powered by Bootstrap v4'
  p.syntax 'j1 <subcommand> [options]'

  p.command(:generate) do |c|
    c.syntax 'generate PATH' # do not include the program name or super commands
    c.description 'Generates a starter site scaffold in PATH'
    c.option 'force', '--force', 'Force a site to be created even the PATH already exists'
    c.option "skip-bundle", "--skip-bundle", "Skip 'bundle install'"
    c.action do |args, options|
      J1::Commands::Generate.process(args, options)
    end
  end

  p.default_command(:generate)
end

Version data entries

62 entries across 62 versions & 3 rubygems

Version Path
j1_template_mde-2018.4.31 exe/j1
j1_template_mde-2018.4.30 exe/j1
j1_template_mde-2018.4.29 exe/j1
j1_template_mde-2018.4.28 exe/j1
j1_template_mde-2018.4.27 exe/j1
j1_template_mde-2018.4.26 exe/j1
j1_template_mde-2018.4.25 exe/j1
j1_template_mde-2018.4.24 exe/j1
j1_template_mde-2018.4.23 exe/j1
j1_template_mde-2018.4.22 exe/j1
j1_template_mde-2018.4.21 exe/j1
j1_template_mde-2018.4.20 exe/j1
j1_template_mde-2018.4.19 exe/j1
j1_template_mde-2018.4.18 exe/j1
j1_template_mde-2018.4.17 exe/j1
j1_template_mde-2018.4.16 exe/j1
j1_template_mde-2018.4.15 exe/j1
j1_template_mde-2018.4.14 exe/j1
j1_template_mde-2018.4.13 exe/j1
j1_template_mde-2018.4.12 exe/j1