|
1 | | -from builtins import list as list_builtin |
2 | | -from genericpath import isdir, isfile |
| 1 | +from genericpath import isdir |
3 | 2 | from os import walk |
4 | | -from posixpath import commonpath, join, normpath, relpath |
| 3 | +from posixpath import join, normpath, relpath |
5 | 4 | from typing import Optional |
6 | 5 |
|
7 | 6 | import typer |
@@ -39,7 +38,7 @@ def create( |
39 | 38 | @app.command() |
40 | 39 | def list( |
41 | 40 | workspace_id: Optional[int] = typer.Option( |
42 | | - None, "--workspace_id", "-w", help="The workspace id" |
| 41 | + None, "--workspace_id", "-w", help="Workspace id to list" |
43 | 42 | ), |
44 | 43 | base_directory: Optional[str] = typer.Option( |
45 | 44 | None, "--base_directory", "-b", help="Path of directory within workspace" |
@@ -94,7 +93,7 @@ def list_workspace_contents( |
94 | 93 | @app.command() |
95 | 94 | def save( |
96 | 95 | workspace_id: int = typer.Option( |
97 | | - ..., "--workspace_id", "-w", help="The workspace id" |
| 96 | + ..., "--workspace_id", "-w", help="Id of workspace to save file to" |
98 | 97 | ), |
99 | 98 | workspace_path: str = typer.Option( |
100 | 99 | ..., "--path", "-p", help="The relative path within the workspace" |
@@ -132,7 +131,7 @@ def contained_files(path: str): |
132 | 131 | @app.command() |
133 | 132 | def get( |
134 | 133 | workspace_id: int = typer.Option( |
135 | | - ..., "--workspace_id", "-w", help="The workspace id" |
| 134 | + ..., "--workspace_id", "-w", help="Id of workspace to get file from" |
136 | 135 | ), |
137 | 136 | workspace_path: str = typer.Option( |
138 | 137 | ..., "--path", "-p", help="The relative path within the workspace" |
|
0 commit comments