Add a command to automatically create a block
This commit is contained in:
parent
7b28fc5661
commit
290273e4ca
5 changed files with 161 additions and 0 deletions
|
|
@ -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],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue