Skip to content
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

Be able to use any endpoint as a subcommand #3

Open
jeremyheiler opened this issue Jun 5, 2013 · 0 comments
Open

Be able to use any endpoint as a subcommand #3

jeremyheiler opened this issue Jun 5, 2013 · 0 comments

Comments

@jeremyheiler
Copy link
Owner

Any endpoint in paprika.core should be executable as a subcommand.

lein paprika create-post :text "This is this post's text."

All the parameters will be bundled into a map and passed into the function. The token will be extracted from the map if it is provided by the command (ditto with client id and secret), otherwise it will be obtained by the usual methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant