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
@app.command(alias=['rm', 'remove'])
def delete(url: str):

Delete a file from remote storage.

Parameters
url:strURL of the file to delete.
@app.command(alias='pull')
def get(url: str, save_dir: Path | None = None):

Download a file from remote storage.

Parameters
url:strURL of the file to download.
save_dir:Path | NoneDirectory 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:strURL of the directory to list.
recursive:Annotated[bool, Parameter(alias=-r, negative='')]Whether to list files recursively.
typ:Annotated[Literal['file', 'directory', 'all'], Parameter(name=[(--type), (-t)])]Type of files to list.
@app.command(alias='push')
def put(file: Path, url: str):

Upload a file to remote storage.

Parameters
file:PathPath to the file to upload.
url:strURL of the file.
app =

Undocumented