Thread (1 message) 1 message, 1 author, 2021-04-07

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

From: Junio C Hamano <hidden>
Date: 2021-04-07 20:42:31

ama bamo [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help