$ npm install -g dhti-cli
$ dhti-cli COMMAND
running command...
$ dhti-cli (--version)
dhti-cli/0.1.1 linux-x64 node-v18.20.2
$ dhti-cli --help [COMMAND]
USAGE
$ dhti-cli COMMAND
...
dhti-cli compose [OP]
dhti-cli conch [OP]
dhti-cli docker [PATH]
dhti-cli elixir [OP]
dhti-cli help [COMMAND]
dhti-cli mimic [SERVER]
dhti-cli plugins
dhti-cli plugins add PLUGIN
dhti-cli plugins:inspect PLUGIN...
dhti-cli plugins install PLUGIN
dhti-cli plugins link PATH
dhti-cli plugins remove [PLUGIN]
dhti-cli plugins reset
dhti-cli plugins uninstall [PLUGIN]
dhti-cli plugins unlink [PLUGIN]
dhti-cli plugins update
dhti-cli synthetic [INPUT] [OUTPUT] [PROMPT]
dhti-cli compose [OP]
Generates a docker-compose.yml file from a list of modules
USAGE
$ dhti-cli compose [OP] [-f <value>] [-m <value>...]
ARGUMENTS
OP Operation to perform (add, delete, read or reset)
FLAGS
-f, --file=<value> [default: /home/beapen/dhti/docker-compose.yml] Full path to the docker compose file to read
from. Creates if it does not exist
-m, --module=<value>... Modules to add from ( langserve, openmrs, ollama, langfuse, cqlFhir, redis, neo4j and
mcpFhir)
DESCRIPTION
Generates a docker-compose.yml file from a list of modules
EXAMPLES
$ dhti-cli compose
See code: src/commands/compose.ts
dhti-cli conch [OP]
Install or uninstall conchs to create a Docker image
USAGE
$ dhti-cli conch [OP] [-b <value>] [-c <value>] [-d <value>] [-g <value>] [-i <value>] [-n <value>] [-v
<value>] [-w <value>]
ARGUMENTS
OP Operation to perform (install, uninstall or dev)
FLAGS
-b, --branch=<value> [default: develop] Branch to install from
-c, --container=<value> [default: dhti-frontend-1] Name of the container to copy the conch to while in dev mode
-d, --dev=<value> [default: none] Dev folder to install
-g, --git=<value> [default: none] Github repository to install
-i, --image=<value> [default: openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.17] Base image to use
for the conch
-n, --name=<value> Name of the elixir
-v, --repoVersion=<value> [default: 1.0.0] Version of the conch
-w, --workdir=<value> [default: /home/beapen/dhti] Working directory to install the conch
DESCRIPTION
Install or uninstall conchs to create a Docker image
EXAMPLES
$ dhti-cli conch
See code: src/commands/conch.ts
dhti-cli docker [PATH]
Build a docker project and update docker-compose file
USAGE
$ dhti-cli docker [PATH] [-d] [-f <value>] [-n <value>] [-t <value>] [-u]
ARGUMENTS
PATH [default: /home/beapen/dhti] Docker project path to build. Ex: dhti
FLAGS
-d, --down Run docker-compose down after building
-f, --file=<value> [default: /home/beapen/dhti/docker-compose.yml] Full path to the docker compose file to edit or
run.
-n, --name=<value> Name of the container to build
-t, --type=<value> [default: elixir] Type of the service (elixir/conch)
-u, --up Run docker-compose up after building
DESCRIPTION
Build a docker project and update docker-compose file
EXAMPLES
$ dhti-cli docker
See code: src/commands/docker.ts
dhti-cli elixir [OP]
Install or uninstall elixirs to create a Docker image
USAGE
$ dhti-cli elixir [OP] [-b <value>] [-c <value>] [-d <value>] [-g <value>] [-n <value>] [-p <value>] [-v
<value>] [-e <value>] [-w <value>]
ARGUMENTS
OP Operation to perform (install, uninstall or dev)
FLAGS
-b, --branch=<value> [default: develop] Branch to install from
-c, --container=<value> [default: dhti-langserve-1] Name of the container to copy the elixir to while in dev mode
-d, --dev=<value> [default: none] Dev folder to install
-e, --whl=<value> [default: none] Whl file to install
-g, --git=<value> [default: none] Github repository to install
-n, --name=<value> Name of the elixir
-p, --pypi=<value> [default: none] PyPi package to install. Ex: dhti-elixir-base = ">=0.1.0"
-v, --repoVersion=<value> [default: 0.1.0] Version of the elixir
-w, --workdir=<value> [default: /home/beapen/dhti] Working directory to install the elixir
DESCRIPTION
Install or uninstall elixirs to create a Docker image
EXAMPLES
$ dhti-cli elixir
See code: src/commands/elixir.ts
dhti-cli help [COMMAND]
Display help for dhti-cli.
USAGE
$ dhti-cli help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for dhti-cli.
See code: @oclif/plugin-help
dhti-cli mimic [SERVER]
Submit a FHIR request to a server
USAGE
$ dhti-cli mimic [SERVER]
ARGUMENTS
SERVER [default: http://localhost/fhir/$import] Server URL to submit
DESCRIPTION
Submit a FHIR request to a server
EXAMPLES
$ dhti-cli mimic
See code: src/commands/mimic.ts
dhti-cli plugins
List installed plugins.
USAGE
$ dhti-cli plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ dhti-cli plugins
See code: @oclif/plugin-plugins
dhti-cli plugins add PLUGIN
Installs a plugin into dhti-cli.
USAGE
$ dhti-cli plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into dhti-cli.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DHTI_CLI_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DHTI_CLI_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ dhti-cli plugins add
EXAMPLES
Install a plugin from npm registry.
$ dhti-cli plugins add myplugin
Install a plugin from a github url.
$ dhti-cli plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ dhti-cli plugins add someuser/someplugin
dhti-cli plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ dhti-cli plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ dhti-cli plugins inspect myplugin
See code: @oclif/plugin-plugins
dhti-cli plugins install PLUGIN
Installs a plugin into dhti-cli.
USAGE
$ dhti-cli plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into dhti-cli.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the DHTI_CLI_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the DHTI_CLI_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ dhti-cli plugins add
EXAMPLES
Install a plugin from npm registry.
$ dhti-cli plugins install myplugin
Install a plugin from a github url.
$ dhti-cli plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ dhti-cli plugins install someuser/someplugin
See code: @oclif/plugin-plugins
dhti-cli plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ dhti-cli plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ dhti-cli plugins link myplugin
See code: @oclif/plugin-plugins
dhti-cli plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ dhti-cli plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ dhti-cli plugins unlink
$ dhti-cli plugins remove
EXAMPLES
$ dhti-cli plugins remove myplugin
dhti-cli plugins reset
Remove all user-installed and linked plugins.
USAGE
$ dhti-cli plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.
See code: @oclif/plugin-plugins
dhti-cli plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ dhti-cli plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ dhti-cli plugins unlink
$ dhti-cli plugins remove
EXAMPLES
$ dhti-cli plugins uninstall myplugin
See code: @oclif/plugin-plugins
dhti-cli plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ dhti-cli plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
PLUGIN... plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ dhti-cli plugins unlink
$ dhti-cli plugins remove
EXAMPLES
$ dhti-cli plugins unlink myplugin
dhti-cli plugins update
Update installed plugins.
USAGE
$ dhti-cli plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.
See code: @oclif/plugin-plugins
dhti-cli synthetic [INPUT] [OUTPUT] [PROMPT]
Generate synthetic data using LLM
USAGE
$ dhti-cli synthetic [INPUT] [OUTPUT] [PROMPT] [-i input|instruction|output] [-m <value>] [-r <value>] [-o
input|instruction|output]
ARGUMENTS
INPUT Input file to process
OUTPUT Output file to write
PROMPT Prompt file to read
FLAGS
-i, --inputField=<option> [default: input] Input field to use
<options: input|instruction|output>
-m, --maxCycles=<value> Maximum number of cycles to run
-o, --outputField=<option> [default: output] Output field to use
<options: input|instruction|output>
-r, --maxRecords=<value> [default: 10] Maximum number of records to generate
DESCRIPTION
Generate synthetic data using LLM
EXAMPLES
$ dhti-cli synthetic
See code: src/commands/synthetic.ts