Skip to content

Oleks-Y/SQLiteTool

Repository files navigation

Sqltool

SQLTool .NET Core global tool project that provides a simple command-line program that allows the user to manually enter and execute SQL statements with or without showing query results against an SQLite, PostgreSQl databases.Later will be added functions to simple adding and editing datatables.

What is .NET Core global tools

A .NET Core global tool is a special NuGet package that contains a console application. When installing a tool, .NET Core CLI will download and make your console tool available as a new command.

How to install it

The steps are very easy you only have to

  • Check if .NET Core sdk version 2.1 installed on your system, you can download it from Here then check if the instalation has gone correctly by typing

    user$ dotnet --version
    user$ 2.1.402
    
  • A single command allows you to download and install the tool

    user$ dotnet tool install --global sqltoool 
    
  • Add the tool to the enironement variable

Windows:

  setx PATH "$env:PATH;$env:USERPROFILE/.dotnet/tools"

Linux/macOS:

echo "export PATH=\"\$PATH:\$HOME/.dotnet/tools\"" >> ~/.bash_profile
  • Finaly run

    user$ sqltool --h
    
  • Support me by making a for the repo and thank you :D , If you want to contribute to the project and make it better, your help is very welcome. Alt Text

About

Simple sqlite tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages