Skip to content

Main

interfaces.fetch_request.cli.__main__

Summary

CLI for FetchRequest management — list, get, create, run, resolve, retry.


Example:

1
2
3
4
5
6
7
8
9
```python
python -m interfaces.fetch_request.cli list
python -m interfaces.fetch_request.cli get <id>
python -m interfaces.fetch_request.cli create-file --account "ICICI Savings" --path ./stmt.pdf --start-date 2025-04-01 --end-date 2026-03-31
python -m interfaces.fetch_request.cli run <id>
python -m interfaces.fetch_request.cli ambiguities <fr_id>
python -m interfaces.fetch_request.cli resolve <fr_id>
python -m interfaces.fetch_request.cli retry <id>
```

Classes

Functions

main async

main()

Run the FetchRequest CLI: parse arguments, dispatch to a subcommand.

Initializes the application resources before dispatch and shuts them down afterwards.