Add edit command
yonaskolb opened this issue · comments
Yonas Kolb commented
beak edit
This would allow code completion for dependencies.
- generate package like for
run
but without injected function call, rather use a symlink to the original swift file - generate the project with Swift PM
- open the project
Yonas Kolb commented
Looks like Xcode doesn't support saving files that are symlinked... 😢
That means the edit command will have to print something like
Edit the file "Sources/BeakFile/main.swift". When you're done press return and the file will be copied back