fix json bugs and add a cli #2

Merged
mossfet merged 3 commits from cli into json 2023-07-01 18:24:55 +00:00
Member

this pull request adds a cli to the repo and it moves stuff that can be shared between them into a little crate called "shared" which contains the site struct and the load_names function and it contains error handling.

this cli can add, remove, and print out stuff from the names.json file. it uses clap for the cli.

this pull request adds a cli to the repo and it moves stuff that can be shared between them into a little crate called "shared" which contains the site struct and the load_names function and it contains error handling. this cli can add, remove, and print out stuff from the names.json file. it uses clap for the cli.
Fries added 3 commits 2023-07-01 06:14:49 +00:00
c481999c55 add a work in progress cli and fix bugs
i'm making a cli that lets you add stuff to the names.json file and read
data from it and i moved stuff that can be shared between them like the
Site struct to a shared crate thats in workspace, like the cli crate. i
also switched to using typed json parsing which works well.
c729d2115b add a add command to the cli
this command can add sites to the names.json file
mossfet merged commit 3fa6a24a5d into json 2023-07-01 18:24:55 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Solarpunk/meowy-webring#2
No description provided.