module documentation
Undocumented
| Function | delete |
Delete a file from remote storage. |
| Function | get |
Download a file from remote storage. |
| Function | ls |
List files in the remote directory. |
| Function | put |
Upload a file to remote storage. |
| Variable | app |
Undocumented |
Download a file from remote storage.
| Parameters | |
url:str | URL of the file to download. |
savePath | None | Directory to save the file. Defaults to current working directory. |
@app.command
def ls(url: str, *, recursive: Annotated[ bool, Parameter( alias=-r, negative='')] = False, typ: Annotated[ Literal[ 'file', 'directory', 'all'], Parameter( name=[ (--type), (-t)])] = 'all'):
¶
List files in the remote directory.
| Parameters | |
url:str | URL of the directory to list. |
recursive:Annotated[ | Whether to list files recursively. |
typ:Annotated[ | Type of files to list. |