Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit 7ed2a8c

Browse files
committed
Add deprecation warning for 'run' command
1 parent b6e8acb commit 7ed2a8c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Paperspace Python
22
=================
33

4-
Release 0.1.0
4+
Release 0.1.1
55

66
See [releasenotes.md](https://github.com/Paperspace/paperspace-python/blob/master/releasenotes.md) for details on the current release, as well as release history.
77

paperspace/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import os
22
import sys
33

4+
import click
5+
46
from .cli import cli
57
from .jobs import run, print_json_pretty
68
from .login import login, logout, set_apikey
@@ -66,6 +68,9 @@ def main():
6668
return not set_apikey(args[0])
6769

6870
if cmd == 'run':
71+
click.echo("Deprecation warning: 'paperspace-python run' command is deprecated "
72+
"and will be removed in next release\n")
73+
6974
if not args or args[0] in help_opts:
7075
print('run usage: %s' % run_usage(prog))
7176
sys.exit(not args)

paperspace/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.1.0"
1+
version = "0.1.1"

0 commit comments

Comments
 (0)