microsoft / microsoft/go-sqlcmd

Consider using go-prompt to enable a nice interactive prompt like mssql-cli

Open
#481 10 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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:

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.