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-2020.0.6 exe/j1
j1-template-2020.0.5 exe/j1
j1-template-2020.0.4 exe/j1
j1-template-2020.0.3 exe/j1
j1-template-2020.0.2 exe/j1
j1-template-2020.0.1 exe/j1
j1-template-2020.0.0 exe/j1
j1_template-2019.4.12 exe/j1
j1_template-2019.4.11 exe/j1
j1_template-2019.4.10 exe/j1
j1_template-2019.4.8 exe/j1
j1_template-2019.4.7 exe/j1
j1_template-2019.4.5 exe/j1
j1_template-2019.4.4 exe/j1
j1_template-2019.4.1 exe/j1
j1_template_mde-2018.4.36 exe/j1
j1_template_mde-2018.4.35 exe/j1
j1_template_mde-2018.4.34 exe/j1
j1_template_mde-2018.4.33 exe/j1
j1_template_mde-2018.4.32 exe/j1