-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/addedDeprecationWarnings (#132)
- Loading branch information
1 parent
44eb0bb
commit 4fca024
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
from .tool import * | ||
from .update import * | ||
from .cloud import * | ||
from .deprecated import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |