Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce YAML support #67

Merged
merged 4 commits into from
Jun 20, 2023
Merged

Introduce YAML support #67

merged 4 commits into from
Jun 20, 2023

Commits on Jun 20, 2023

  1. cli: show parameter defaults with --help

    Use ArgumentDefaultsHelpFormatter so we can see what the default
    parameter values are.
    
    Signed-off-by: Cory Todd <[email protected]>
    Cory Todd committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    59ae21d View commit details
    Browse the repository at this point in the history
  2. cli: fill in parameter help strings

    Add help strings for parameters. Also restrict cli syntax options to
    those already built in the library since a CLI user cannot provide their
    own implementation.
    
    Signed-off-by: Cory Todd <[email protected]>
    Cory Todd committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    15f9e61 View commit details
    Browse the repository at this point in the history
  3. cli: add yaml support

    Introduce a loader and dumper for YAML that can be used by the CLI. Add
    tests for all loaders that exercise both forms (string and file-like).
    Adds a YAML example to the README.
    
    Signed-off-by: Cory Todd <[email protected]>
    Cory Todd committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    4da4668 View commit details
    Browse the repository at this point in the history
  4. jsondiff: include YAML dumper/loader in __all__

    Include the new YAML tools in the __all__ export for consistency.
    
    Signed-off-by: Cory Todd <[email protected]>
    Cory Todd committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    197b4ac View commit details
    Browse the repository at this point in the history