Skip to content

✨ Add blueprint decode/encode commands#77

Merged
sakuro merged 1 commit intomainfrom
feature/add-blueprint-decode-encode-commands
Mar 3, 2026
Merged

✨ Add blueprint decode/encode commands#77
sakuro merged 1 commit intomainfrom
feature/add-blueprint-decode-encode-commands

Conversation

@sakuro
Copy link
Owner

@sakuro sakuro commented Mar 3, 2026

Summary

Add factorix blueprint decode and factorix blueprint encode commands for converting between Factorio blueprint strings and JSON.

Changes

  • Add Factorix::Blueprint class with decode, encode, and to_json
  • Add blueprint decode command (blueprint string → pretty JSON)
  • Add blueprint encode command (JSON → blueprint string, no trailing newline)
  • Update shell completion scripts for all three shells

Closes #76

- Add `factorix blueprint decode` to convert blueprint strings to JSON
- Add `factorix blueprint encode` to convert JSON to blueprint strings

Closes #76
@sakuro sakuro merged commit c29fb09 into main Mar 3, 2026
5 checks passed
@sakuro sakuro deleted the feature/add-blueprint-decode-encode-commands branch March 3, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add blueprint decode/encode commands

1 participant