Sha256: 923229530e820560c66d470ccf795188e3dd96ee14b5e421f059a82deb6934f6

Contents?: true

Size: 493 Bytes

Versions: 37

Compression:

Stored size: 493 Bytes

Contents

#!/usr/bin/env ruby

require 'json'

HERE = File.dirname(__FILE__)
GITIGNORE_DIR = File.expand_path File.join HERE, '..', 'files', 'gitignore'

names = Dir.chdir(GITIGNORE_DIR) do
  Dir['**/*.gitignore'].map {|path|
    path.match(/(.*)\.gitignore/)[1]
  }
end

puts JSON.pretty_generate({
  save_options: false,
  
  vars: [
    {
      name: "name",
      description: "name of gitignore.",
      required: true,
      type: {
        one_of: names,
      },
      short: 'n',
    },
  ],
})

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
qb-0.1.47 roles/qb.gitignore/meta/qb
qb-0.1.46 roles/qb.gitignore/meta/qb
qb-0.1.45 roles/qb.gitignore/meta/qb
qb-0.1.44 roles/qb.gitignore/meta/qb
qb-0.1.43 roles/qb.gitignore/meta/qb
qb-0.1.42 roles/qb.gitignore/meta/qb
qb-0.1.41 roles/qb.gitignore/meta/qb
qb-0.1.40 roles/qb.gitignore/meta/qb
qb-0.1.39 roles/qb.gitignore/meta/qb
qb-0.1.38 roles/qb.gitignore/meta/qb
qb-0.1.37 roles/qb.gitignore/meta/qb
qb-0.1.36 roles/qb.gitignore/meta/qb
qb-0.1.35 roles/qb.gitignore/meta/qb
qb-0.1.34 roles/qb.gitignore/meta/qb
qb-0.1.33 roles/qb.gitignore/meta/qb
qb-0.1.32 roles/qb.gitignore/meta/qb
qb-0.1.31 roles/qb.gitignore/meta/qb
qb-0.1.30 roles/qb.gitignore/meta/qb
qb-0.1.29 roles/qb.gitignore/meta/qb
qb-0.1.28 roles/qb.gitignore/meta/qb