rdme
- ReadMe's API CLI
This is a CLI wrapper around ReadMe's HTTP API.
![CircleCI](https://circleci.com/gh/readmeio/rdme.svg?style=svg)
![](https://d3vv6lp55qjaqc.cloudfront.net/items/1M3C3j0I0s0j3T362344/Untitled-2.png)
Installation
npm install rdme
Usage
Logging in to a ReadMe project
If you login to a project, you will not have to provide the --key
option because we save it locally:
rdme login
Uploading a new Swagger file to ReadMe
rdme swagger {path-to-swagger.json} --key={api-key}
Editing an existing Swagger file
rdme swagger {path-to-swagger.json} --key={api-key} --id={existing-id}
Syncing a folder of markdown docs to ReadMe
rdme docs path-to-markdown-files --key={api-key} --version={project-version}
Edit a single readme doc on your local machine
rdme docs:edit <slug> --key={api-key} --version={project-version}
Open your ReadMe project in your browser
If you are logged in, this will open the project in your browser:
rdme open
Future
We will be expanding and modifying the feature set of this program as/when we expand our public API. Some things will be changed.