Main Application API¶
hatchling.app
¶
Classes¶
Functions¶
main()
¶
Entry point function that runs the async main function.
Returns:
| Name | Type | Description |
|---|---|---|
int |
Exit code from the async main function. |
Source code in hatchling/app.py
55 56 57 58 59 60 61 | |
main_async()
async
¶
Main entry point for the application.
Returns:
| Name | Type | Description |
|---|---|---|
int |
Exit code - 0 for successful execution. |
Raises:
| Type | Description |
|---|---|
Exception
|
Any unhandled exceptions that occur during execution. |
Source code in hatchling/app.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | |
This module contains the main entry point for the Hatchling application.