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

Feature: Automatically output code in responses to files #32

Open
jschuur opened this issue Apr 13, 2023 · 0 comments
Open

Feature: Automatically output code in responses to files #32

jschuur opened this issue Apr 13, 2023 · 0 comments
Milestone

Comments

@jschuur
Copy link
Owner

jschuur commented Apr 13, 2023

Ideas:

  • any code snippet in the response gets saved to a file
  • .gpt-output Subdirectory of local folder but default but support override
  • handle file overwriting (date stamped or incrementing version number subdir?)
  • detect file extension if response provides it in the markup
  • one file per code snippet or all in one file? Pick one and have option to change default
  • not on by default, but add .savecode command to do this from the REPL if not on
  • specify default file extension to use (.savecode js)
@jschuur jschuur added this to the 0.7.0 milestone Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant