Git Product home page Git Product logo

Comments (2)

amjith avatar amjith commented on May 23, 2024

There is no history_file directive in the ini file. It always writes to ~/.config/litecli/history.

I've tried to reduce this number of knobs of configure. Can you tell me what use case you're trying to address with this?

from litecli.

thorstenkampe avatar thorstenkampe commented on May 23, 2024

You are correct. Mycli and Litcli don't support that directive while pgcli and mssql-cli do. I'm using a single ini for all four dbcli applications so I got misled.

There were two use cases:

  1. a single history file for all four dbcli shells I use. Since there are a few but significant syntax differences in the respective SQL dialects that turned out to be not useful.
  2. a "portable" location for my history so I can take it with me an don't leave traces in the host (portable meaning on a USB thumb drive). That's less of an issue as it used to be.

The main issue is probably that I would wish that the dbcli shells would be more similar. From what I can see there are already two kinds of dbcli apps: the \n ones (pgcli and mssql-cli) and the \f ones (litecli and mycli). One uses named queries, the other one favorite queries, etc.

Please feel free to close this issue.

from litecli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.