util/scloud_config/scloud_config library
Classes
Constants
- scloudConfigDomainPrefix → const String
-
The prefix for the scloud configuration domain.
Used in qualified keys, e.g:
scloud:/project/projectId
Functions
-
scloudCliConfigBroker<
T extends OptionDefinition> ({required GlobalConfiguration globalConfig, CommandLogger? logger}) → ConfigurationBroker< T> -
Creates a
ConfigurationBroker
for the scloud cli. -
scloudFileFinder<
T> ({required String fileBaseName, required List< String> supportedExtensions, String? startingDirectory(T arg)?, int searchLevelsDown = 2, FileContentCondition? fileContentCondition}) → FileFinder<T> - Returns a FileFinder function that implements the algorithm for finding scloud project files.
Typedefs
- FileContentCondition = bool Function(String filePath)
-
FileFinder<
T> = String? Function(T arg)