From da7d0a914daeb74ead5a90af2ecc7968c7b1d2df Mon Sep 17 00:00:00 2001 From: Dev Mukherjee Date: Sat, 13 Jul 2024 15:25:10 +1000 Subject: [PATCH] feat(debug): adds delete endpoint for debugging --- Taskfile.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 56fe411..09ca3a1 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -54,11 +54,11 @@ tasks: dev:textual: desc: runs the textual cli cmds: - - poetry run textual --dev -- + - poetry run textual -- {{.CLI_ARGS}} dev:tui: desc: runs text gallagher console in dev mode cmds: - - poetry run textual run --dev gallagher.tui:main + - poetry run textual run --dev gallagher.tui dev:py: desc: runs python in the poetry shell cmds: @@ -79,6 +79,15 @@ tasks: by no suffix is provided CC returns a list of hateoas compliant endpoints. + debug:delete: + desc: use httpie to delete resource from CC + summary: | + runs a httpie get against the gallagher aus gateway + appends the required headers, assumes the environment + variables are set. + + you must pass in the partial url (past /api), + along with any parameters. cmds: - | http get \