ItTiger.TigerQuery.CliCore 0.8.1

dotnet add package ItTiger.TigerQuery.CliCore --version 0.8.1
                    
NuGet\Install-Package ItTiger.TigerQuery.CliCore -Version 0.8.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ItTiger.TigerQuery.CliCore" Version="0.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ItTiger.TigerQuery.CliCore" Version="0.8.1" />
                    
Directory.Packages.props
<PackageReference Include="ItTiger.TigerQuery.CliCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ItTiger.TigerQuery.CliCore --version 0.8.1
                    
#r "nuget: ItTiger.TigerQuery.CliCore, 0.8.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ItTiger.TigerQuery.CliCore@0.8.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ItTiger.TigerQuery.CliCore&version=0.8.1
                    
Install as a Cake Addin
#tool nuget:?package=ItTiger.TigerQuery.CliCore&version=0.8.1
                    
Install as a Cake Tool

ItTiger.TigerQuery.CliCore

Reusable TigerCli command group for SQL Server connection management, used by tiger-sqlcmd and other TigerQuery-family command-line tools.

This package is for developers building TigerCli applications, not for end users. Mount it in your app and you get a complete connections command group:

  • list / show — structured table and details output
  • add / edit — parser-driven prompting, provider-backed selection (including live database enumeration), shared add/edit option surface, TigerCli .AsEdit() merge semantics
  • delete
  • Domain validation with clear errors and enum-backed exit codes (SqlServerConnectionExitCode)
  • en-US and pl-PL resources, merged behind your app's own resources so you can override any string

Profiles are stored through ItTiger.TigerQuery.Core, which this package depends on (along with ItTiger.TigerCli and ItTiger.Core).

Installation

dotnet add package ItTiger.TigerQuery.CliCore

Quick start

The public composition surface is SqlServerConnectionCommands (plus SqlServerConnectionCommandOptions and SqlServerConnectionExitCode); the individual command and settings types are intentionally internal.

using ItTiger.TigerCli.Commands;
using ItTiger.TigerQuery.CliCore;
using ItTiger.TigerQuery.Core;

var store = new SqlServerConnectionStore(
    SqlServerConnectionStoreOptions.AppSpecific("YourVendor", "your-tool"));

var app = TigerCliApp.CreateBuilder()
    .UseAssemblyMetadata(typeof(Program).Assembly)
    // Chain your own ResourceManager(s) in front to override or localize strings.
    .UseAppResources(SqlServerConnectionCommands.CreateAppResources())
    .AddCommandGroup("connections", group =>
    {
        group.SetDescription("Manage saved connections");
        SqlServerConnectionCommands.Configure(group, options =>
        {
            options.Store = store;
            options.ValidationPolicy = SqlServerConnectionValidationPolicy.DatabaseOptional;
        });
    })
    .Build();

return await app.RunAsync(args);

Your application keeps full ownership of everything around the group: overall app composition, themes, cultures, additional commands, and the application-wide exit-code policy (UseExitCodes(...)). The connection commands return their own documented SqlServerConnectionExitCode values (Ok = 0, InvalidArguments = 2, NotFound = 4, AlreadyExists = 5).

Localization

Command metadata, prompts, enum labels, and output are localized (en-US, pl-PL). CreateAppResources(params ResourceManager[]) returns a chained manager: your resource managers are consulted first, the built-in connection-command strings act as the fallback — register the result with TigerCli's UseAppResources(...).

An open-source project by IT Tigerhttps://www.ittiger.net/

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.1 41 7/12/2026