mattbrictson / tomo-plugin

A GitHub template for creating tomo plugins

Home Page:https://tomo-deploy.com/tutorials/publishing-a-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tomo plugin template

This is a GitHub template for creating tomo plugins, which are packaged as Ruby gems.

Read the tomo tutorial Publishing a Plugin to get started. Then press Use this template to generate a project from this template. In the generated project, run this script to rename the gem to meet your needs:

ruby rename_template.rb

Note that to get the full benefits of the script, you will need the gh command installed.

This template is based on bundle gem with some notable improvements:

  • GitHub Actions configuration
  • Minitest, with minitest-rg for nicely formatted test output
  • Rubocop with a good set of configuration
  • release-drafter GitHub Action for automating release notes
  • A rake bump task to keep your Ruby and Bundler dependencies up to date
  • A nice README with badges ready to go (see below)

tomo-plugin-example

Gem Version Gem Downloads GitHub Workflow Status Code Climate maintainability

This is a tomo plugin that ... TODO: Description of this plugin goes here.


Installation

Run:

gem install tomo-plugin-example

Or add it to your Gemfile:

gem "tomo-plugin-example"

Then add the following to .tomo/config.rb:

plugin "example"

Settings

TODO: document plugin settings

Name Purpose Default
plugin_name_setting TODO nil

Tasks

TODO: document plugin tasks

example:task_name

TODO

Support

If you want to report a bug, or have ideas, feedback or questions about the gem, let me know via GitHub issues and I will do my best to provide a helpful answer. Happy hacking!

License

The gem is available as open source under the terms of the MIT License.

Code of conduct

Everyone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Contribution guide

Pull requests are welcome!

About

A GitHub template for creating tomo plugins

https://tomo-deploy.com/tutorials/publishing-a-plugin/

License:MIT License


Languages

Language:Ruby 98.6%Language:Shell 1.4%