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

CLI: SB3 output #130

Open
towerofnix opened this issue Apr 24, 2024 · 0 comments
Open

CLI: SB3 output #130

towerofnix opened this issue Apr 24, 2024 · 0 comments
Labels
command-line Features or improvements for sb-edit CLI fmt: SB3 Pertains to SB3 format (Scratch 3.0)

Comments

@towerofnix
Copy link
Member

Following #129, we should be able to export to the other formats sb-edit has complete or partial support for.

Some notes:

  • Infer output type from output file extension .sb3, or -ot sb3 / --output-type sb3, as usual
  • SB3 conversion (Implement SB3 output #33) is a normal, complete roundtrip: you input a whole project and get out a whole project, like converting SB3 to Leopard
  • Overwriting the input SB3 would always probably be a bad idea, but the CLI already has examples of avoiding overwriting. We may want to generally implement a warning like, "Output file must not be input file." rather than the current message "Output file already exists."
@towerofnix towerofnix added fmt: SB3 Pertains to SB3 format (Scratch 3.0) command-line Features or improvements for sb-edit CLI labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line Features or improvements for sb-edit CLI fmt: SB3 Pertains to SB3 format (Scratch 3.0)
Projects
None yet
Development

No branches or pull requests

1 participant