Services Blog Français

cli2 v4

| by jpic | cli cli2 devops dev

cli2 v4 is out!

Well, cli2 started as a minuscule thing, basically it was supposed to be just a CLI

But, since 2018, it became my personnal automation framework to crush any DevOps gig on my way by automating absolutely everything in record efforts.

It ended up including all the following batteries:

  • beautiful CLI alternative to click, but much less verbose, allowing more creative design patterns without any boilerplate thanks to introspection
  • which comes with a Sphinx extension to extensively document your CLIs
  • magic 12-factor configuration library
  • extremely beautiful structlog configuration for colorful and readable logging
  • httpx client wrapper that handles all kind of retries, data masking…
  • magic ORM for HTTP resources based on that client
  • Ansible Action plugin library with all the beautiful logging and a rich testing library so that you can go straight to the point in pytest
  • a good old fcntl based locking
  • a command line to run any python function over a beautiful CLI

And … that’s probably why v3.3.46 became a disgusting mess! Fear not, v4 is out and super easy!

Interested? Links:

They trust us

Contact

logo