declarativesystems / onceover-helloworld

Example plugin for onceover

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Onceover::Helloworld

This is an example plugin for Onceover, The gateway drug to automated infrastructure testing with Puppet

Installation

Onceover detects plugins in all gems named onceover-*. Your plugin is then responsible for registering itself and setting up new commands, etc.

This example plugin can be installed by adding it to your Gemfile or by running the following command:

$ gem install onceover-helloworld

Usage

Onceover provides plugins with built-in support for help and argument processing. Here's how to run this example:

Built-in help

$ onceover run helloworld --help

Default execution

$ onceover run helloworld
INFO   -> Hello, World!

Option processing

$ onceover run helloworld --name Wednesday
INFO   -> Hello, Wednesday!

Integration highlights

Development

Finished (for now) - hopefully this makes writing your own plugins for Onceover easier :)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/declarativesystems/onceover-helloworld.

About

Example plugin for onceover

License:Apache License 2.0


Languages

Language:Ruby 96.6%Language:Shell 3.4%