Mumby0168.Cosmology
0.0.1-pre4
This is a prerelease version of Mumby0168.Cosmology.
dotnet tool install --global Mumby0168.Cosmology --version 0.0.1-pre4
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Mumby0168.Cosmology --version 0.0.1-pre4
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Mumby0168.Cosmology&version=0.0.1-pre4&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Mumby0168.Cosmology --version 0.0.1-pre4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cosmology
A CLI tool for working with Azure Cosmos DB.
To install the tool run the following command.
dotnet tool install --global Mumby0168.Cosmology
You can then see what the tool offers by running.
cosmology --help
Setting a connection string
There are two ways to give Cosmology a connection.
Environment Variable (recommended)
The environment variable that cosmology uses is called COSMOLOGY_COSMOS_ACCOUNT_CONNECTION_STRING
.
You can set this in MacOs with the following command.
export COSMOLOGY_COSMOS_ACCOUNT_CONNECTION_STRING="my-connection-string"
You can un-set this using
unset COSMOLOGY_COSMOS_ACCOUNT_CONNECTION_STRING
Using the configuration file
If no environment variable can be found then the tool will look in a file named appsettings.json
for the connection string. This is stored next to the .dll
for the tools.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.0.1-pre4 | 137 | 4/23/2022 |
0.0.1-pre3 | 153 | 1/23/2022 |
0.0.1-pre2 | 127 | 1/23/2022 |
0.0.1-pre1 | 138 | 1/23/2022 |