semantics

This commit is contained in:
2026-05-19 18:36:15 +03:00
parent 64feca2e46
commit b916ef94d5
79 changed files with 19791 additions and 11925 deletions

View File

@@ -1,12 +1,14 @@
# #region CreateAdminScript [C:3] [TYPE Module] [SEMANTICS admin, search, user, cli]
# #region CreateAdminScript [C:5] [TYPE Module] [SEMANTICS admin, search, user, cli]
#
# @BRIEF CLI tool for creating the initial admin user.
# @LAYER: Scripts
# @LAYER: Infrastructure
# @RELATION USES -> [AuthSecurityModule]
# @RELATION USES -> [DatabaseModule]
# @RELATION USES -> [AuthModels]
#
# @INVARIANT: Admin user must have the "Admin" role.
# @SIDE_EFFECT: Writes admin user to database
# @DATA_CONTRACT: CLIArgs -> AdminUser
import argparse
import sys