Sha256: dbc0347dcfccd17c50caa798efd9eb3d4bfebf0ff44afd7d148fd07e395fd2d7

Contents?: true

Size: 843 Bytes

Versions: 27

Compression:

Stored size: 843 Bytes

Contents

# Writing a plugin

### Basic

If you want to create a plugin for hammer-cli-foreman, you might want to create
a simple draft at first.

To do so, just run the following:
```
# You will need to checkout this repository first if you don't have it already
$ git checkout https://github.com/theforeman/hammer-cli-foreman.git
$ cd hammer-cli-foreman
$ rake plugin:draft
# fill prompts
```
This will create a directory called `hammer-cli-foreman-prompted-name` with
basic structure where you can put your code afterwards. Please, don't forget to
take a look at `TODO`s as there might be places you want to change or adjust to
your needs first.

For more information, please see: https://github.com/theforeman/hammer-cli/blob/master/doc/developer_docs.md
as well as https://github.com/theforeman/hammer-cli-foreman/blob/master/doc/developer_docs.md

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
hammer_cli_foreman-3.14.0 doc/plugin.md
hammer_cli_foreman-3.13.0 doc/plugin.md
hammer_cli_foreman-3.12.0 doc/plugin.md
hammer_cli_foreman-3.10.0 doc/plugin.md
hammer_cli_foreman-3.9.0 doc/plugin.md
hammer_cli_foreman-3.8.0 doc/plugin.md
hammer_cli_foreman-3.7.0 doc/plugin.md
hammer_cli_foreman-3.5.1 doc/plugin.md
hammer_cli_foreman-3.6.0 doc/plugin.md
hammer_cli_foreman-3.5.0 doc/plugin.md
hammer_cli_foreman-3.4.0 doc/plugin.md
hammer_cli_foreman-3.3.0 doc/plugin.md
hammer_cli_foreman-3.2.0 doc/plugin.md
hammer_cli_foreman-2.5.2 doc/plugin.md
hammer_cli_foreman-3.1.0 doc/plugin.md
hammer_cli_foreman-3.0.0 doc/plugin.md
hammer_cli_foreman-2.5.1 doc/plugin.md
hammer_cli_foreman-2.5.0 doc/plugin.md
hammer_cli_foreman-2.3.2 doc/plugin.md
hammer_cli_foreman-2.4.0 doc/plugin.md