zkapp-cli
zkapp-cli copied to clipboard
Running a standalone script
Describe the problem
It's common for someone looking to troubleshoot a problem to share a gist or some code in a single text file. Anyone looking to reproduce the issue needs to put that file into a zk project context, covert the typescript and run the javascript. This seems a) repetitive and b) prone to error / environment mismatches.
Describe the proposed solution
I think a nice feature would be an API that looks like zk run myScript.ts
which would convert the file to javascript and run it. It would be runnable globally on a machine with the zkapp-cli installed such that a file could just be downloaded or tossed into a documents folder and be run.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
This is sort of a temperature check. I'm happy to iterate with more detail if it's something that makes sense to exist in this project.