Add a command to automatically create a block

This commit is contained in:
Tom 2023-06-22 14:46:42 +02:00
parent 7b28fc5661
commit 290273e4ca
5 changed files with 161 additions and 0 deletions

View file

@ -86,6 +86,10 @@ func (wisski *WissKI) SSH() *ssh.SSH {
return export[*ssh.SSH](wisski)
}
func (wisski *WissKI) Blocks() *extras.Blocks {
return export[*extras.Blocks](wisski)
}
//
// All components
// THESE SHOULD NEVER BE CALLED DIRECTLY
@ -105,6 +109,7 @@ func (wisski *WissKI) allIngredients() []initFunc {
auto[*extras.Settings],
auto[*extras.Pathbuilder],
auto[*extras.Stats],
auto[*extras.Blocks],
auto[*users.Users],
auto[*users.UserPolicy],