CosmicWorks 2.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global CosmicWorks --version 2.2.0
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 CosmicWorks --version 2.2.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CosmicWorks&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package CosmicWorks --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CosmicWorks
command-line tool for .NET
CosmicWorks is an open source set of tools and libraries to generate data quickly for your proof of concept or sample applications.
NuGet link
https://www.nuget.org/packages/cosmicworks
Install
dotnet tool install --global cosmicworks
Examples
Generate all data in the Azure Cosmos DB emulator.
cosmicworks --emulator
Generate all data in a live Azure Cosmos DB for NoSQL account.
cosmicworks --connection-string "<API_FOR_NOSQL_CONNECTION_STRING>"
Generate a subset of data.
cosmicworks --emulator --number-of-products 0 --number-of-employees 50
Arguments
Description | Remarks | |
---|---|---|
--connection-string (-c ) |
Connection string to an Azure Cosmos DB for NoSQL account | You may need to escape connection string characters or enclose the value in quotes within specific operation system shells. If not specified, the CLI will prompt you for a connection string value. |
--emulator (-e ) |
Use emulators connection string | This setting has a higher precedent than --connection-string . |
--number-of-products |
Number of product items to generate | This setting defaults to 200 . If set to 0 , the corresponding container will be skipped. You must set at least this setting or --number-of-employees to a positive integer value. |
--number-of-employees |
Number of product items to generate | This setting defaults to 1000 . If set to 0 , the corresponding container will be skipped. You must set at least this setting or --number-of-products to a positive integer value. |
--disable-hierarchical-partition-keys |
Disables the creation of hierarchical partition keys | This setting is useful for working in environments, like the emulator, where hierarchical partition keys are not supported. |
--help (-h ) |
Renders help information and examples. | |
--version (-v ) |
Renders version information. |
Related
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.