Clan-cli/api: list external modules
This commit is contained in:
@@ -2,17 +2,10 @@
|
||||
self,
|
||||
self',
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
||||
# { mName :: { roleName :: Options } }
|
||||
# getModulesSchema = modules: lib.mapAttrs (
|
||||
# _moduleName: rolesOptions:
|
||||
# lib.mapAttrs (_roleName: options: jsonWithoutHeader.parseOptions options { }) rolesOptions
|
||||
# ) (self.lib.evalClanModulesWithRoles modules);
|
||||
|
||||
modulesSchema = self.lib.modules.getModulesSchema self.clanModules;
|
||||
|
||||
jsonLib = self.lib.jsonschema { inherit includeDefaults; };
|
||||
@@ -49,7 +42,6 @@ in
|
||||
frontMatterSchema
|
||||
inventorySchema
|
||||
modulesSchema
|
||||
getModulesSchema
|
||||
renderSchema
|
||||
inventory-schema-abstract
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user