Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
/ cli Public archive

The best way to manage the installation of HR

License

Notifications You must be signed in to change notification settings

HospitalRun/cli

Repository files navigation

HospitalRun CLI

Status Version GitHub CI Coverage Status Language grade: JavaScript Commitizen friendly semantic-release dependabot Slack

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

CLI commands

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

License

Released under the MIT license.