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-2021.0.1 exe/j1
j1-template-2021.0.0 exe/j1
j1-template-2020.0.25 exe/j1
j1-template-2020.0.24 exe/j1
j1-template-2020.0.22 exe/j1
j1-template-2020.0.21 exe/j1
j1-template-2020.0.20 exe/j1
j1-template-2020.0.19 exe/j1
j1-template-2020.0.18 exe/j1
j1-template-2020.0.17 exe/j1
j1-template-2020.0.16 exe/j1
j1-template-2020.0.15 exe/j1
j1-template-2020.0.14 exe/j1
j1-template-2020.0.13 exe/j1
j1-template-2020.0.12 exe/j1
j1-template-2020.0.11 exe/j1
j1-template-2020.0.10 exe/j1
j1-template-2020.0.9 exe/j1
j1-template-2020.0.8 exe/j1
j1-template-2020.0.7 exe/j1