dojo icon indicating copy to clipboard operation
dojo copied to clipboard

feat(sozo): Add `--output-manifest` option to `sozo inspect`

Open knownasred opened this issue 9 months ago • 1 comments
trafficstars

Description

Adds a --output-manifest option to sozo inspect that will output the generated manifest to stdout. Useful for scripts and to generate the frontend on the fly, removing the requirement of committing the manifest to git

Related issue

Fixes #2878

Tests

  • [x] Yes
  • [ ] No, because they aren't needed
  • [ ] No, because I need help

Added to documentation?

TODO: Add a PR to the dojo book adding documentation for the inspect command

  • [ ] README.md
  • [ ] Dojo Book
  • [ ] No documentation needed

Checklist

  • [x] I've formatted my code (scripts/prettier.sh, scripts/rust_fmt.sh, scripts/cairo_fmt.sh)
  • [x] I've linted my code (scripts/clippy.sh, scripts/docs.sh)
  • [x] I've commented my code
  • [ ] I've requested a review after addressing the comments

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Added options to generate and output a world manifest during inspection.
    • Introduced ability to force manifest generation even when the world is not fully synced.
  • Improvements

    • Enhanced command-line inspection capabilities with more flexible manifest generation controls.

knownasred avatar Jan 26 '25 17:01 knownasred