On Tue, Oct 11, 2016 at 10:08 AM, Daniel Lobato Garcia <[email protected]>
wrote:

> > We are using foreman in our company for a about 3 years but we would like
> > to extend some features. For example hammer-cli "host list". We would
> like
> > to have here an additional column for "description". How could u do that?
>


If it is the filed 'Comment' what you have on your mind, it is fairly
simple to add. It is already part of API response so the only thing you
need to do is to add it to the hammer command here [1]

Depending on your plans you can either suggest this change for inclusion in
hammer via redmine feature request [2] and send pull request in the Github
or start building hammer plugin of your own (some hints are here [3]).

--Martin

[1]
https://github.com/theforeman/hammer-cli-foreman/blob/master/lib/hammer_cli_foreman/host.rb#L164
[2] http://projects.theforeman.org/projects/hammer-cli/issues/new
[3]
https://github.com/theforeman/hammer-cli/blob/master/doc/developer_docs.md#hammer-development-docs

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to