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

Add CLI tool that converts configs from YAML to postcard #3

Open
4 tasks
ingobecker opened this issue Feb 24, 2024 · 0 comments
Open
4 tasks

Add CLI tool that converts configs from YAML to postcard #3

ingobecker opened this issue Feb 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ingobecker
Copy link
Owner

When compiled for bare metal, YAML is no longer a feasible option to save or restore a config. Postcard should be used instead. However on the end user side of things YAML is the preferred way to write new configurations. A CLI tool should allow the user to convert from human friendly YAML to machine friendly postcard and the other way around.

  • Rename the default main.rs binary crate from reset_ctrl to main-linux to avoid confusion with the CLI tool
  • Add a new binary crate named reset-ctrl
  • Add a positional parameter for the filename
  • If the filenames extension is .yml conver to .bin or the other way around
@ingobecker ingobecker added the enhancement New feature or request label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant