Skip to content

Commit

Permalink
feature/addedDeprecationWarnings (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grashalmbeisser authored Apr 5, 2024
1 parent 44eb0bb commit 4fca024
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/viur_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
from .tool import *
from .update import *
from .cloud import *
from .deprecated import *
18 changes: 18 additions & 0 deletions src/viur_cli/deprecated.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import click
from . import cli, echo_error

'''
This Document keeps Track of "Deprecation Warnings"
'''

@cli.command(hidden= True)
@click.argument('argument', nargs=-1)
def install(argument: list):
echo_error("the ViUR install command is out of Date")
echo_error("Please use the 'viur package' commands instead")

@cli.command(hidden= True)
@click.argument('argument', nargs=-1)
def deploy(argument: list):
echo_error("The 'deploy' command out of Date")
echo_error("Please use 'viur cloud deploy' commands instead")

0 comments on commit 4fca024

Please sign in to comment.