3 ms·
It's a REST api that is used to manipulate objects. And yes I want to build a "shell" or CLI to manipulate objects via the REST api and want to to be approchab
by kator 14y ago
It's a REST api that is used to manipulate objects.
And yes I want to build a "shell" or CLI to manipulate objects via the REST api and want to to be approchable by people without a lot of experience with the underlying API.
something like:
> new customer
customer> set name to "Hello"
customer> set currency to "USD"
customer> set address to "1234 Somewhere, CA"
customer> save
>>> new customer created, id 112884
> show customer 112884
>>> id: 112884
>>> name: Hello
>>> address: 1234 Somewhere, CA
>>> currency: USD
>>> other-attribute: default
>>> something-else: NULL
> quit
>>> have a nice day
Is that a bit clearer?