Documentation
¶
Overview ¶
Package register imports all action handler packages to trigger their init() functions. This package should be imported from cmd/mooncake.go to register all handlers.
This package exists separately from internal/actions to avoid circular imports: - actions defines the Handler interface - actions/print (and other actions) implement Handler and import actions - register imports all action packages to trigger registration - cmd imports register (not actions directly)
Click to show internal directories.
Click to hide internal directories.