SYNOPSIS
Generate the API.pm from JSON API
GEN_API_DEBUG=1 GEN_API_HOSTNAME=host.example.com ./gen_api/gen_api.pl
Functions
- get_api
-
Get the API from the JSON API.
Args/opts are passed to
<Net::FreeIPA-
new>> (so at least the hostname should be set).Return version and commands hashref.