Lightbulb By ExampleΒΆ
Preface
Introduction to Lightbulb - project setup and first steps.
Commands
What is a command and how to create them.
Options
Taking user input for commands and how to use it.
Context Menus
What are context menu commands - how and why to use them.
Groups
Why use a command group, and potential pitfalls using them.
Dependencies
What is dependency injection - accessing objects wherever you need them without global state.
Hooks
Modifying command behaviour and conditionally blocking execution.
Error Handling
Catching errors and how to display them to the user.
Extensions
Splitting your application into multiple files - how extensions enable this.
Autocomplete
Dynamically suggesting option values to your users.
Localization
Catering to the international audience - how to translate command names and more.
Appendix
Further reading; more advanced concepts and techniques.