A succinct and powerful command line query tool for Azure Cosmos DB.


Keywords
command, netcore, cli, csharp, cosmos, line
License
MIT
Install
Install-Package Cosmic -Version 1.0.16

Documentation

Cosmic

A succinct and powerful command line query tool for Azure Cosmos DB

Installation

dotnet tool install --global cosmic

Usage

Connect to an Azure Cosmos DB account:

cosmic connect -n foo -c AccountEndpoint=https://****.documents.azure.com:443/;AccountKey=****==;

Query an Azure Cosmos DB account (where 'foo' is the name of a previously created connection):

cosmic query foo/db/container "SELECT * FROM c"