├── .circleci └── config.yml ├── .gitignore ├── .rspec ├── CHANGELOG.md ├── Gemfile ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── cli-template.gemspec ├── exe └── cli-template ├── lib ├── cli-template.rb ├── cli_template.rb ├── cli_template │ ├── autoloader.rb │ ├── cli.rb │ ├── command.rb │ ├── git.rb │ ├── help.rb │ ├── help │ │ └── new.md │ ├── helper.rb │ ├── new.rb │ ├── sequence.rb │ └── version.rb └── templates │ ├── colon_namespaces │ ├── %project_name%.gemspec.tt │ ├── .gitignore │ ├── .rspec │ ├── CHANGELOG.md │ ├── Gemfile.tt │ ├── Guardfile │ ├── LICENSE.txt.tt │ ├── README.md.tt │ ├── Rakefile │ ├── exe │ │ └── %project_name%.tt │ ├── lib │ │ ├── %project_name%.rb.tt │ │ └── %underscored_name% │ │ │ ├── cli.rb.tt │ │ │ ├── command.rb.tt │ │ │ ├── completer.rb.tt │ │ │ ├── completer │ │ │ ├── script.rb.tt │ │ │ └── script.sh.tt │ │ │ ├── completions.rb.tt │ │ │ ├── help.rb.tt │ │ │ ├── help │ │ │ ├── completions.md.tt │ │ │ ├── completions │ │ │ │ └── script.md.tt │ │ │ ├── hello.md.tt │ │ │ ├── main.md.tt │ │ │ └── sub │ │ │ │ └── goodbye.md.tt │ │ │ ├── main.rb.tt │ │ │ ├── rake_command.rb.tt │ │ │ ├── sub.rb.tt │ │ │ └── version.rb.tt │ └── spec │ │ ├── lib │ │ └── cli_spec.rb.tt │ │ └── spec_helper.rb.tt │ └── default │ ├── %project_name%.gemspec.tt │ ├── .gitignore │ ├── .rspec │ ├── CHANGELOG.md │ ├── Gemfile.tt │ ├── Guardfile │ ├── LICENSE.txt.tt │ ├── README.md.tt │ ├── Rakefile.tt │ ├── exe │ └── %project_name%.tt │ ├── lib │ ├── %project_name%.rb.tt │ └── %underscored_name% │ │ ├── autoloader.rb.tt │ │ ├── cli.rb.tt │ │ ├── command.rb.tt │ │ ├── completer.rb.tt │ │ ├── completer │ │ ├── script.rb.tt │ │ └── script.sh.tt │ │ ├── help.rb.tt │ │ ├── help │ │ ├── completion.md.tt │ │ ├── completion_script.md.tt │ │ ├── hello.md.tt │ │ └── sub │ │ │ └── goodbye.md.tt │ │ ├── sub.rb.tt │ │ └── version.rb.tt │ └── spec │ ├── cli_spec.rb.tt │ └── spec_helper.rb.tt └── spec ├── lib └── cli_spec.rb └── spec_helper.rb /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/.rspec -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/Rakefile -------------------------------------------------------------------------------- /cli-template.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/cli-template.gemspec -------------------------------------------------------------------------------- /exe/cli-template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/exe/cli-template -------------------------------------------------------------------------------- /lib/cli-template.rb: -------------------------------------------------------------------------------- 1 | require_relative "cli_template" -------------------------------------------------------------------------------- /lib/cli_template.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template.rb -------------------------------------------------------------------------------- /lib/cli_template/autoloader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/autoloader.rb -------------------------------------------------------------------------------- /lib/cli_template/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/cli.rb -------------------------------------------------------------------------------- /lib/cli_template/command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/command.rb -------------------------------------------------------------------------------- /lib/cli_template/git.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/git.rb -------------------------------------------------------------------------------- /lib/cli_template/help.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/help.rb -------------------------------------------------------------------------------- /lib/cli_template/help/new.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/help/new.md -------------------------------------------------------------------------------- /lib/cli_template/helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/helper.rb -------------------------------------------------------------------------------- /lib/cli_template/new.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/new.rb -------------------------------------------------------------------------------- /lib/cli_template/sequence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/cli_template/sequence.rb -------------------------------------------------------------------------------- /lib/cli_template/version.rb: -------------------------------------------------------------------------------- 1 | module CliTemplate 2 | VERSION = "4.0.2" 3 | end 4 | -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/%project_name%.gemspec.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/%project_name%.gemspec.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/.gitignore -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/.rspec -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/CHANGELOG.md -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/Gemfile.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/Gemfile.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/Guardfile -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/LICENSE.txt.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/LICENSE.txt.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/README.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/README.md.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/Rakefile -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/exe/%project_name%.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/exe/%project_name%.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%project_name%.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%project_name%.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/cli.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/cli.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/command.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/command.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/completer.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/completer.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/completer/script.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/completer/script.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/completer/script.sh.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/completer/script.sh.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/completions.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/help.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/help.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/help/completions.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/help/completions.md.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/help/completions/script.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/help/completions/script.md.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/help/hello.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/help/hello.md.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/help/main.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/help/main.md.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/help/sub/goodbye.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/help/sub/goodbye.md.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/main.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/main.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/rake_command.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/rake_command.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/sub.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/lib/%underscored_name%/sub.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/lib/%underscored_name%/version.rb.tt: -------------------------------------------------------------------------------- 1 | module <%= project_class_name %> 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/spec/lib/cli_spec.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/spec/lib/cli_spec.rb.tt -------------------------------------------------------------------------------- /lib/templates/colon_namespaces/spec/spec_helper.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/colon_namespaces/spec/spec_helper.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/%project_name%.gemspec.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/%project_name%.gemspec.tt -------------------------------------------------------------------------------- /lib/templates/default/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/.gitignore -------------------------------------------------------------------------------- /lib/templates/default/.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/.rspec -------------------------------------------------------------------------------- /lib/templates/default/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/CHANGELOG.md -------------------------------------------------------------------------------- /lib/templates/default/Gemfile.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/Gemfile.tt -------------------------------------------------------------------------------- /lib/templates/default/Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/Guardfile -------------------------------------------------------------------------------- /lib/templates/default/LICENSE.txt.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/LICENSE.txt.tt -------------------------------------------------------------------------------- /lib/templates/default/README.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/README.md.tt -------------------------------------------------------------------------------- /lib/templates/default/Rakefile.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/Rakefile.tt -------------------------------------------------------------------------------- /lib/templates/default/exe/%project_name%.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/exe/%project_name%.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%project_name%.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%project_name%.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/autoloader.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/autoloader.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/cli.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/cli.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/command.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/command.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/completer.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/completer.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/completer/script.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/completer/script.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/completer/script.sh.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/completer/script.sh.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/help.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/help.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/help/completion.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/help/completion.md.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/help/completion_script.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/help/completion_script.md.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/help/hello.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/help/hello.md.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/help/sub/goodbye.md.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/help/sub/goodbye.md.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/sub.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/lib/%underscored_name%/sub.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/lib/%underscored_name%/version.rb.tt: -------------------------------------------------------------------------------- 1 | module <%= project_class_name %> 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /lib/templates/default/spec/cli_spec.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/spec/cli_spec.rb.tt -------------------------------------------------------------------------------- /lib/templates/default/spec/spec_helper.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/lib/templates/default/spec/spec_helper.rb.tt -------------------------------------------------------------------------------- /spec/lib/cli_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/spec/lib/cli_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tongueroo/cli-template/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------