class

Eum::Cli

Inherits Reference < Object

Cli manages argument parsing, RBAC authorization, and command dispatch for eum.

Instance methods

has_domain_access?(user_info : Exu::UserInfo, domain : String) : Bool

Checks whether the given user is authorized to manage the specified domain.

Source
run(args : Array(String))

Runs the CLI application with the given arguments. ameba:disable Metrics/CyclomaticComplexity

Source
user_info

Retrieves the user information based on the invoking user and any admin overrides.

Source