ReadonlyfileThe extension (without the leading dot) used for the default configuration file name,
e.g. json.
Produce updated file text from a handle returned by parse.
the handle returned by parse for the text being updated.
the complete updated configuration data. The format reconciles the existing text with it, leaving unchanged content (including comments) untouched.
Parse configuration file text.
the parsed data and an opaque handle retaining whatever the format needs to write
changes back while preserving comments and layout (undefined if the format has nothing to retain).
Defines the on-disk syntax of the CLI configuration file.
The built-in implementation is JSON (the default). YAML and TOML implementations are available from the
@flowscripter/dynamic-cli-framework/yamland@flowscripter/dynamic-cli-framework/tomlentry points. Third party formats can be supplied by implementing this interface.