This CLI application needs for generating Python code on base VK API schema.
For installing you need to have installed Python 3.8+. Then you need to install dependencies:
pip install -r requirements/requirements.txtOr you can use poetry:
poetry installCommand python -m src show help message:
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...
Options:
-o, --output-dir DIRECTORY Directory to save the output files [default:
output]
-i, --input-dir DIRECTORY Directory with the schemas of API methods
[default: vk-api-schema]
--help Show this message and exit.
Commands:
objects Generate objects from API schemaFor generating objects you need to run the following command:
python -m src objects