CLI - the yr command#
yr is the openYuanrong Python deployment and operations CLI, used for component startup, shutdown, status checking, and configuration rendering in host mode.
Lifecycle Commands#
Command |
Description |
|---|---|
Start the cluster ( |
|
Start a single component only, typically used for container entrypoint scenarios. |
|
Read the session file to check the health status of components on the current node. |
|
View cluster status (only queryable in |
|
Stop daemon/component processes recorded in the session. |
Configuration Commands#
Command |
Description |
|---|---|
Output merged configuration or built-in configuration templates. |
Global Options#
Option |
Description |
|---|---|
|
Specify the |
|
Enable DEBUG logging. |
|
Output the |
|
View help information. |
Get Installation Path#
python3 -c "import yr;print(yr.__path__[0])"
# /usr/local/lib/python3.9/site-packages/yr