CLI tools with Foreman
summary
Overview of concrete Foreman CLI options and gotchas: the Foreman REST API is versioned, plugin-extensible and serves a ~1 MB API description that gets parsed and cached; Ruby apipie bindings introspect that description; Hammer translates names to IDs, supports --fields/CSV output, access tokens and OIDC, but starts slowly because it parses the API each run so use Hammer shell to avoid repeated loads. GraphQL is available for complex reads (GraphQL read-only so far). foreman-maintain handles upgrades, backups and service orchestration.
AI-written summary · about
