mirror of
https://gitlab.com/rensa-nix/core.git
synced 2026-02-01 23:05:08 +01:00
22 lines
353 B
Nix
22 lines
353 B
Nix
{
|
|
simple = name: {
|
|
inherit name;
|
|
type = name;
|
|
};
|
|
dynamic = name: {
|
|
inherit name;
|
|
type = name;
|
|
cli = true;
|
|
actions = args: {};
|
|
# TODO: dynamic actions
|
|
};
|
|
autodiscover = {
|
|
name = "__autodiscover";
|
|
type = "__autodiscover";
|
|
_functor = self: cell:
|
|
self
|
|
// {
|
|
inherit cell;
|
|
};
|
|
};
|
|
}
|