microsoft / microsoft/go-sqlcmd
Consider using go-prompt to enable a nice interactive prompt like mssql-cli
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 595
- Forks
- 91
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Description
mssql-cli has a nice prompt and nice table output thanks to the use of the following Python libraries:
mssql-cli is on the deprecation track, and suggests that go-sqlcmd is the future.
It would be nice if go-sqlcmd copied some of the nice usability features from mssql-cli.
There are existing Go libraries inspired by Python Prompt Toolkit and Tabulate which may help improve the go-sqlcmd interface similar to mssql-cli:
Tabulate inspired libraries:
- https://github.com/markkurossi/tabulate
- https://github.com/rgeoghegan/tabulate
- https://github.com/bndr/gotabulate
Non-tabulate-inspired table library:
Python Prompt Toolkit inspired library:
Would go-sqlcmd consider implementing some of these usability features?
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
No source file, test, or entry point is identified. Start by reviewing the current go-sqlcmd CLI and the listed Go and Python-inspired prompt and table libraries, then narrow the request to a specific usability change with observable prompt or table behavior that defines completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100