Skip to content

Command module loading #3

@kaylendog

Description

@kaylendog

From #2, @kokumaji added support for loading commands directly from the file system. This has somepotential ramifications - nothing inherently wrong with doing it, but it does come at the cost of some type safety.

We can either:

  • Stick with this and add some type checks on the loaded module to see if it's valid.
  • Switch to declaring commands explicitly at compile time.

Both sides have their pros and cons, but needs discussing to work out what to do.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions