DavidSouther / ailly

Your AI Writing Ally
Other
9 stars 6 forks source link

cli: `--outfile` #62

Closed cpyle0819 closed 4 months ago

cpyle0819 commented 4 months ago

Feature request for ailly --context folder --create my_file.js --prompt "Write a script to reverse a string."

DavidSouther commented 4 months ago

What about a more general --outfile? (--out says to do an entire other directory) (--outfile would only affect the /dev/stdin synthetic prompt content)

DavidSouther commented 4 months ago

Or why not shell redirection?

cpyle0819 commented 4 months ago

That's a smart way to look at it. I could roll with this.

DavidSouther commented 4 months ago

I'll add an integration test; if there's an issue with logging, we can handle that separately.