Skip to content

Tickets/obsproc 73 typer#54

Merged
monodera merged 4 commits into
mainfrom
tickets/OBSPROC-73-typer
Apr 19, 2024
Merged

Tickets/obsproc 73 typer#54
monodera merged 4 commits into
mainfrom
tickets/OBSPROC-73-typer

Conversation

@monodera
Copy link
Copy Markdown
Contributor

The CLI tools is refactored with the Typer package. Now only one entry point app pfs-targetdb-cli is used to do various operations. See the documentation for the detail.

pfs-targetdb-cli can take various options for operation. Available
commandss are as follows.

- checkdups       Check for duplicates in data files in a directory.
- create-db       Create a database on a PostgreSQL server.
- create-schema   Create tables of the PFS tartedb in a database.
- diagram         Generate an ER diagram of a database.
- drop-db         Drop a database on a PostgreSQL server.
- insert          Insert rows into a table in the PFS Target Database.
- mdtable         Generate a Markdown output of the schema of the PFS
                  Target Database.
- prep-fluxstd    Prepare flux standard data for the target database
                  by supplementing additional required fields.
- update          Update rows in a table in the PFS Target Database.

Each command takes options which can be listed with `--help` option.
@monodera monodera merged commit ddef2db into main Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant