---
title: "Discussion on \"From API client to CLI, without writing a parser\" | Hashnode"
description: "Discussion on \"From API client to CLI, without writing a parser\". Build a small API client as an ordinary Python class and get a complete CLI from it with jsonargparse: subcommands, help and config files."
url: "https://hashnode.com/posts/from-api-client-to-cli-without-writing-a-parser/6a701a123b63df5224cac86c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [From API client to CLI, without writing a parser](https://mauvilsa.hashnode.dev/from-api-client-to-cli-without-writing-a-parser?utm_source=hashnode&utm_medium=feed)

Build a small API client as an ordinary Python class and get a complete CLI from it with jsonargparse: subcommands, help and config files.

Aug 3 · 18 min read · mauvilsa.hashnode.dev  
Updated Aug 10  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#cli](https://hashnode.com/tag/cli)
-   [#argparse](https://hashnode.com/tag/argparse)
-   [#typehints](https://hashnode.com/tag/typehints)

## Written by

[Mauricio Villegas](https://hashnode.com/@mauvilsa)

@mauvilsa · Berlin, Germany

  
[View profile](https://hashnode.com/@mauvilsa)

AI Researcher & Engineer · Document understanding & information extraction · Open source maintainer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
