microsoft / microsoft/go-sqlcmd
":Help" command not working
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 595
- Forks
- 91
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Description
Description
The ":Help" command is documented, but it doesn't seem like it's working in the go version of sqlcmd.
Example
❯ sqlcmd
1> :help
2> go
Msg 102, Level 15, State 1, Server 714f0c28a9f0, Line 1
Incorrect syntax near ':'.
1> :Help
2> go
Msg 102, Level 15, State 1, Server 714f0c28a9f0, Line 1
Incorrect syntax near ':'.
1>
sqlcmd version
❯ sqlcmd --version
sqlcmd: Install/Create/Query SQL Server, Azure SQL, and Tools
Version: 1.10.0
Legal docs and information: aka.ms/SqlcmdLegal
Third party notices: aka.ms/SqlcmdNotices
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented :help example in the interactive sqlcmd CLI, then trace how colon commands are parsed and dispatched in the Go implementation. Done means :help and :Help are handled as sqlcmd commands and no longer sent to SQL Server as invalid syntax.
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
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100