microsoft / microsoft/go-sqlcmd

Add history file support

Open
#90 2 comments 3 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

The liner package supports a history file to remember line entries across app invocations.
We have a few options to discuss:

  • Whether to hard code the history file location in the user profile or to allow the history file location to be a command line parameter or environment variable.
  • How to control the file size

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

Start by reviewing the liner package's existing history support and the sqlcmd CLI entry points that create the interactive session. Clarify the history-file location or configuration mechanism and file-size behavior before implementation; done means the chosen behavior is documented and works across app invocations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
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.