```release-note:improvement
api: Move CLI token helper functions to importable packages in `api` module.
```
