-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API should use whole name options, not flags #2189
Comments
|
They shouldn't go away for the CLI. However, they should for the HTTP API. We should do more than document: we should implement the long options. |
i think the api should accept aliases (and i think it does? if not the cmds lib then uses one as the main one, and we could switch it to the longer one) |
the api accepts aliases |
@whyrusleeping Can we use this as a tracking issue, then, for adding aliases, or should I open up a separate issue for that? |
According to feedback given in ipfs-inactive/http-api-spec#17, the API uses flags such as
r
andw
instead ofrecursive
andwrap-with-directory
. I do not understand the logic behind this. I suggest that we move the API to either accept aliases, or to use the full names. It is awkward, documenting and using the API the way it currently exists.cc @diasdavid @whyrusleeping
The text was updated successfully, but these errors were encountered: