rfcli 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rfcli-0.1.3 → rfcli-0.1.4}/PKG-INFO +1 -1
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/main.py +6 -7
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli.egg-info/PKG-INFO +1 -1
- {rfcli-0.1.3 → rfcli-0.1.4}/setup.py +1 -1
- {rfcli-0.1.3 → rfcli-0.1.4}/README.md +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/__init__.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/config.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/convert.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/infer.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/predict.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/train.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/train_local.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/upload.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/utils.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli/version.py +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli.egg-info/SOURCES.txt +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli.egg-info/dependency_links.txt +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli.egg-info/entry_points.txt +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli.egg-info/requires.txt +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/rfcli.egg-info/top_level.txt +0 -0
- {rfcli-0.1.3 → rfcli-0.1.4}/setup.cfg +0 -0
|
@@ -7,6 +7,7 @@ from rfcli.predict import predict
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
@click.group()
|
|
10
|
+
@click.version_option("0.1.3", prog_name="RFCLI")
|
|
10
11
|
def cli():
|
|
11
12
|
"""Roboflow CLI - Dataset to Deployment"""
|
|
12
13
|
pass
|
|
@@ -41,7 +42,8 @@ def create_version_cmd(workspace, project, name):
|
|
|
41
42
|
print("[bold blue]🚀 Creating dataset version...[/bold blue]")
|
|
42
43
|
create_version(workspace, project, name)
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
|
|
46
|
+
# 🔥 Train
|
|
45
47
|
@cli.command(name="train-local")
|
|
46
48
|
@click.option('--workspace', required=True)
|
|
47
49
|
@click.option('--project', required=True)
|
|
@@ -49,18 +51,15 @@ def create_version_cmd(workspace, project, name):
|
|
|
49
51
|
def train_local_cmd(workspace, project, version):
|
|
50
52
|
train_local(workspace, project, version)
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
|
|
55
|
+
# 🔥 Predict
|
|
53
56
|
@cli.command(name="predict")
|
|
54
57
|
@click.option('--image', required=True)
|
|
55
58
|
def predict_cmd(image):
|
|
56
59
|
predict(image)
|
|
57
60
|
|
|
58
|
-
@click.group()
|
|
59
|
-
@click.version_option("0.1.0")
|
|
60
|
-
def cli():
|
|
61
|
-
"""Roboflow CLI - Dataset to Deployment"""
|
|
62
|
-
pass
|
|
63
61
|
|
|
62
|
+
# 🔹 Test command
|
|
64
63
|
@cli.command()
|
|
65
64
|
def hello():
|
|
66
65
|
print("[bold green]Roboflow CLI is working! 🚀[/bold green]")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|