Subject: Re: exporting git commands in parsable format for constructing language-specific API for git CLI

From: Junio C Hamano <[email-masked]>
Date: Wed, 07 Apr 2021 13:42:23 -0700

ama bamo <[email-masked]> writes:

> By following the definition of CLI and API; the CLI is human readable
> while the API is machine readable. If we were able to expose CLI
> in a machine-readable format then would it be an API?

Both input and output for Porcelain commands are subject to change
to improve the end user experience for humans, which may break
scripts that hardcodes the assumption of either the input or the
output at one version of Git.

So no, I wouldn't call that an API.