This repository will host Command Line Interface for the HospitalRun project. The CLI is written in Typescript and uses sade, chalk and glob. The purpose of this CLI is to start the project and migrate the CouchDB database from version 1.0.0-beta to v2.
Main features:
- Build CouchDB design documents from TypeScript code
- Extract and convert to
.json
.ts
.js
design documents from CouchDB backups
TODO list:
- Allow backups directly from HR cli
- Add command to run HospitalRun frontend/server inside Docker
Command | Description |
---|---|
hospitalrun ddoc extract |
Extract design document(s) from database exported backup file into TypeScript files. |
hospitalrun ddoc build |
Build design document(s) from TypeScript files. Files can be imported directly into CouchDB. |
More information and examples can be found with hospitalrun --help
command
Released under the MIT license.