# Filesystem CLI

Python API: `luxonis_ml.utils.__main__`

## Functions

### delete

```python
def delete(url: str):
```

Delete a file from remote storage.

Parameters

 * `url` (`str`): URL of the file to delete.

### get

```python
def get(url: str, save_dir: Path | None = None):
```

Download a file from remote storage.

Parameters

 * `url` (`str`): URL of the file to download.
 * `save_dir` (`Path | None`): Directory to save the file. Defaults to current working directory.

### ls

```python
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[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.

### put

```python
def put(file: Path, url: str):
```

Upload a file to remote storage.

Parameters

 * `file` (`Path`): Path to the file to upload.
 * `url` (`str`): URL of the file.

## Attributes

### app
