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
- Onceover compatibility definition
- Library self-registration
- Command definition
- Command self-registration
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.