codeskyblue / codeskyblue/go-sh
Error on Multiline-Output
Open
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
When I run a command, that have Multiline-Output I get an Error:
```
.\main.go:6:21: newline in string
.\main.go:6:21: syntax error: unexpected newline, expecting comma or )
```
Line 6 in main.go is the import to this libary.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported command with multiline output and inspect the generated main.go around line 6, where the import is reported. Trace how multiline output is passed into the generated Go source; done when the same command no longer produces the newline-in-string and unexpected-newline errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100