Skip to content

Commit

Permalink
added purge for source (#6)
Browse files Browse the repository at this point in the history
* added purge for source

* pre-commit fix

---------

Co-authored-by: Davit Shartava <[email protected]>
  • Loading branch information
dati25 and Davit Shartava authored Aug 16, 2024
1 parent 3e748c2 commit 5ac751e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project_rossum_deploy/commands/purge/purge.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
)
@click.argument(
"destination",
type=click.Choice([settings.TARGET_DIRNAME, settings.UNUSED_SCHEMAS]),
type=click.Choice(
[settings.SOURCE_DIRNAME, settings.TARGET_DIRNAME, settings.UNUSED_SCHEMAS]
),
)
@coro
async def purge_project_wrapper(destination):
Expand Down

0 comments on commit 5ac751e

Please sign in to comment.