magic_yaml_config 1.0.0 copy "magic_yaml_config: ^1.0.0" to clipboard
magic_yaml_config: ^1.0.0 copied to clipboard

A Dart library and CLI tool for reading and extracting values from YAML configuration files with dot notation, fallback paths, and multiple output formats.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate magic_yaml_config

Use it

The package has the following executables:

$ yaml_config

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add magic_yaml_config

With Flutter:

 $ flutter pub add magic_yaml_config

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  magic_yaml_config: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:magic_yaml_config/config.dart';
import 'package:magic_yaml_config/index.dart';
import 'package:magic_yaml_config/output_format.dart';
import 'package:magic_yaml_config/print.dart';
0
likes
125
points
444
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart library and CLI tool for reading and extracting values from YAML configuration files with dot notation, fallback paths, and multiple output formats.

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on magic_yaml_config