5.3.1.21.18.1. cli.helpers.project_context.get_env
- cli.helpers.project_context.get_env() bool
Check if command is run in the foxBMS repository or the fox CLI package and whether it is valid in this environment.
- Parameters:
project_root – Optional project root to avoid recomputing it.
- Returns:
Truewhen running in a foxBMS repository checkout.- Raises:
SystemExit – If the command is executed in an invalid environment.