ohca-utstein

Crates.ioohca-utstein
lib.rsohca-utstein
version0.2.0
sourcesrc
created_at2023-04-05 18:04:13.478114
updated_at2023-04-05 18:04:13.478114
descriptionUtstein export script for the OHCA registry
homepagehttps://github.com/SterArcher/OHCA-registry-Slovenia
repositoryhttps://github.com/SterArcher/OHCA-registry-Slovenia/tree/api-dev/ohca-utstein
max_upload_size
id831283
size225,152
pintariching (pintariching)

documentation

README

Export script for the OHCA Registry Slovenia

To use the CLI, install it with cargo install ohca-utstein and run it using ohca-utstein commands.

To connect to a database using credentials and output a utstein.json file use:

ohca-utstein json credentails -u user -d database_name -i 127.0.0.1:3306

You will be prompted for the database password.

To connect using a connection string and output a utstein_report.html file use:

ohca-utstein html -o utstein_report.html connect -c mysql://{user}:{password}@{host}:{port}/{db}

Developing

Tailwind is used to help with stying the index.html Utstein report template. To aid with that, the crate railwind is used. To start using it, run:

cargo install railwind_cli

After installing it, navigate to this directory and run:

railwind -w -p

To run railwind_cli and watch the index.html file for changes.

Commit count: 0

cargo fmt