Sub-Modules or Child Modules #29

Closed
opened 2018-12-16 08:38:33 +00:00 by Ghost · 1 comment
Ghost commented 2018-12-16 08:38:33 +00:00 (Migrated from codeberg.org)

Feature Request

Sub-Project

This is regarding:

  • core

Description

I would like to be able to recursively define sub-modules for my modules. For example if I have a Twitch module. I could have the basic Twitch related commands such as twitch get, and twitch set, but then have a Notify sub-module to have another group of related commands such as twitch.notify add, or twitch.notify list.

Motivation

This would be nice as it grants more control and flexibility with how commands are structured, especially when we want to show the relation between modules that we may want to define separately rather than making a single large module with too many commands.

# Feature Request <!-- This is for requesting new features, or improvements/additions to existing features. This is pre-filled with example values, feel free to remove them before populating the template. If you feel a heading is irrelevent, just remove it. --> ## Sub-Project <!-- Can you specify which sub-project(s) this is relevant to? If you aren't sure, or this is a proposal for a new sub-project, you can delete this. --> This is regarding: * core ## Description <!-- Explain what this is about, try to use full sentences, and make your point clear. --> I would like to be able to _recursively_ define sub-modules for my modules. For example if I have a `Twitch` module. I could have the basic Twitch related commands such as `twitch get`, and `twitch set`, but then have a `Notify` sub-module to have another group of related commands such as `twitch.notify add`, or `twitch.notify list`. ## Motivation <!-- Why is this a feature that should be implemented in Commandler rather than in your own project using it? What makes this fundamental, or reusable, or of demand to other developers? --> This would be nice as it grants more control and flexibility with how commands are structured, especially when we want to show the relation between modules that we may want to define separately rather than making a single large module with too many commands.
Ghost commented 2025-04-01 09:16:12 +01:00 (Migrated from codeberg.org)

mentioned in issue #96

mentioned in issue #96
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SethFalco/commandler#29
No description provided.