Тёмный

Designing a Human-Friendly CLI for API-Driven Infrastructure - Oliver Rew 

EuroPython Conference
Подписаться 33 тыс.
Просмотров 654
50% 1

[EuroPython 2023 - North Hall on 2023-07-20]
ep2023.europyt...
As Bloomberg’s infrastructure grows and evolves, the tools we use to manage it are becoming increasingly important. To streamline infrastructure management, our team set out to design a REST API and constituent CLI (Command Line Interface) that would comprise a single interface for both programmatic and human interaction with our infrastructure. Traditionally, building a CLI that is tightly coupled to an API requires maintaining a separate codebase, which is tedious and error-prone. Instead, we designed a CLI that dynamically generates commands based on the OpenAPI JSON documentation. However, since APIs are designed for computer interaction, we designed our API to include the information needed to implement a human-friendly CLI. Leveraging Python, FastAPI, and numerous other open source projects, we built a stable, extensible tool that greatly improves how we interact with our infrastructure.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License creativecommons...

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
#慧慧很努力#家庭搞笑#生活#亲子#记录
00:11
У КОТЯТ ОТКРЫЛИСЬ ГЛАЗКИ#cat
00:26