Skip to content

Admin CLI – Update World Region Details #3

@TaleLearnCode

Description

@TaleLearnCode

Description

As an administrator, I want to update the details of an existing world region so that I can correct or modify its information (for example, changing the parent region or toggling the enabled status). The CLI should identify the region by its unique code and then allow me to update one or more attributes.

Acceptance Criteria

  • Command Invocation: The CLI provides an update command (e.g., world-region update) that begins the update process.
  • Identification: The system prompts the world region code to identify the region to update.
  • Display Current Details: Current details are displayed to the admin.
  • Input Collection: The admin is prompted to update one or more fields (region name, parent region, enabled flag).
  • Validation and Confirmation: Input is validated (ensuring formats and constraints remain consistent). A final confirmation prompt is provided before the update is committed.
  • Data Persistence: The updated details are reflected in subsequent region listings.
  • Error Handling: If an invalid region code or incorrect data is provided, the CLI displays an appropriate error message.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions