Skip to content
keinsell edited this page Jan 24, 2025 · 1 revision

Basic Usage

Once you have followed NEU-A-12 (or decided to see what's app has to offer) - your starting point should be reading initial help attached to the command line application (you run neuronek --help). However, since you are there, let's just do an overview of the cherry that application has right now.

Ingestion Journaling

Like... basic functionality of jotting down data into three columns with a little guideline to avoid falsy inputs.

Log Ingestion

Create new Ingestion in application data storage. ~ NEU-A-3

❯ neuronek ingestion log caffeine 80mg

+----+----------------+--------+----------------------+-------------------------------+
| id | substance_name | route  | dosage               | ingested_at                   |
+----+----------------+--------+----------------------+-------------------------------+
| 1  | caffeine       | "oral" | 79.99999797903001 mg | 2024-12-16 00:02:48.977457    |
+----+----------------+--------+----------------------+-------------------------------+

Update Ingestion

Fat-fingered some value? No problem. You can just edit one field of Ingestion ~ NEU-A-6

❯ neuronek ingestion list

+----+----------------+---------------+----------------------+----------------------------+
| id | substance_name | route         | dosage               | ingested_at                |
+----+----------------+---------------+----------------------+----------------------------+
| 36 | caffeine       | "oral"        | 80 mg               | 2024-12-18 08:14:37.211076 |
+----+----------------+---------------+----------------------+----------------------------+

❯ psylog ingestion update 36 -d 200mg

+----+----------------+---------------+----------------------+----------------------------+
| id | substance_name | route         | dosage               | ingested_at                |
+----+----------------+---------------+----------------------+----------------------------+
| 36 | caffeine       | "oral"        | 200 mg               | 2024-12-18 08:14:37.211076 |
+----+----------------+---------------+----------------------+----------------------------+

Delete Ingestion

Added something by accident? Still not a problem. ~ NEU-A-4

❯ neuronek ingestion list

+----+----------------+--------+----------+----------------------------+
| id | substance_name | route  | dosage   | ingested_at                |
+----+----------------+--------+----------+----------------------------+
| 36 | caffeine       | "oral" | 80 mg    | 2024-12-18 08:14:37.211076 |
+----+----------------+--------+----------+----------------------------+

❯ neuronek ingestion delete 36
Clone this wiki locally