mirror of
https://gitlab.com/rensa-nix/core.git
synced 2026-02-02 07:15:08 +01:00
feat: add autodiscovery for cell blocks
This commit is contained in:
parent
e08c48b5db
commit
50d96d43ce
10 changed files with 251 additions and 45 deletions
|
|
@ -6,6 +6,17 @@
|
|||
dynamic = name: {
|
||||
inherit name;
|
||||
type = name;
|
||||
cli = true;
|
||||
actions = args: {};
|
||||
# TODO: dynamic actions
|
||||
};
|
||||
autodiscover = {
|
||||
name = "__autodiscover";
|
||||
type = "__autodiscover";
|
||||
_functor = self: cell:
|
||||
self
|
||||
// {
|
||||
inherit cell;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue