diff --git a/README.md b/README.md index 71e4dfd..fe93932 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Paperspace Python ================= -Release 0.1.0 +Release 0.1.1 See [releasenotes.md](https://github.com/Paperspace/paperspace-python/blob/master/releasenotes.md) for details on the current release, as well as release history. diff --git a/paperspace/main.py b/paperspace/main.py index ec0f484..1bc27bf 100644 --- a/paperspace/main.py +++ b/paperspace/main.py @@ -1,6 +1,8 @@ import os import sys +import click + from .cli import cli from .jobs import run, print_json_pretty from .login import login, logout, set_apikey @@ -66,6 +68,9 @@ def main(): return not set_apikey(args[0]) if cmd == 'run': + click.echo("Deprecation warning: 'paperspace-python run' command is deprecated " + "and will be removed in next release\n") + if not args or args[0] in help_opts: print('run usage: %s' % run_usage(prog)) sys.exit(not args) diff --git a/paperspace/version.py b/paperspace/version.py index 9f7a875..1663d82 100644 --- a/paperspace/version.py +++ b/paperspace/version.py @@ -1 +1 @@ -version = "0.1.0" +version = "0.1.1"