Program

The gpp program command group manages program creation, updates, retrieval, deletion, and restoration.

Use it to interact with programs in the GPP database.

gpp program

 gpp program Usage: gpp program [OPTIONS] COMMAND [ARGS]... Manage programs. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Commands ───────────────────────────────────────────────────────────────────╮ list   Get all programs.                                                   get    Get program by ID.                                                  delete Delete a program by ID.                                             restoreRestore a program by ID.                                            create Create a new program.                                               update Update a program by ID.                                             schema Display the JSON Schema for the input properties.                   ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program list

 gpp program list Usage: gpp program list [OPTIONS] Get all programs. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --limitINTEGERMax number of results. --include-deleted--no-include-deletedInclude deleted        entries.               [default:              no-include-deleted]    --helpShow this message and  exit.                  ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program get

 gpp program get Usage: gpp program get [OPTIONS] PROGRAM_ID Get program by ID. ╭─ Arguments ──────────────────────────────────────────────────────────────────╮ *program_idTEXTProgram ID.[required] ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Options ────────────────────────────────────────────────────────────────────╮ --include-deleted--no-include-deletedInclude deleted entries.      [default: no-include-deleted] --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program delete

 gpp program delete Usage: gpp program delete [OPTIONS] PROGRAM_ID Delete a program by ID. ╭─ Arguments ──────────────────────────────────────────────────────────────────╮ *program_idTEXTProgram ID.[required] ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Options ────────────────────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program restore

 gpp program restore Usage: gpp program restore [OPTIONS] PROGRAM_ID Restore a program by ID. ╭─ Arguments ──────────────────────────────────────────────────────────────────╮ *program_idTEXTProgram ID.[required] ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Options ────────────────────────────────────────────────────────────────────╮ --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program create

 gpp program create Usage: gpp program create [OPTIONS] Create a new program. ╭─ Options ────────────────────────────────────────────────────────────────────╮ *--from-jsonPATHJSON file with the properties definition. [required]                                --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program update

 gpp program update Usage: gpp program update [OPTIONS] PROGRAM_ID Update a program by ID. ╭─ Arguments ──────────────────────────────────────────────────────────────────╮ *program_idTEXTProgram ID to update.[required] ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Options ────────────────────────────────────────────────────────────────────╮ *--from-jsonPATHJSON file with the properties definition. [required]                                --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯

gpp program schema

 gpp program schema Usage: gpp program schema [OPTIONS] Display the JSON Schema for the input properties. Use this when crafting or validating the JSON files passed with --from-json to the `create` or `update` commands. ╭─ Options ────────────────────────────────────────────────────────────────────╮ --indentINTEGERIndentation level for pretty       printing.                          [default: 2]                       --sort-keys--no-sort-keysSort object keys alphabetically. [default: no-sort-keys]          --helpShow this message and exit. ╰──────────────────────────────────────────────────────────────────────────────╯