CosmicWorks 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global CosmicWorks --version 2.1.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.1.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CosmicWorks&version=2.1.0                
nuke :add-package CosmicWorks --version 2.1.0                

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.

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.
Product 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 is compatible.  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 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. 
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
2.3.1 179 11/21/2024
2.2.0 204 10/24/2024
2.1.0 1,293 4/9/2024
2.0.3 2,158 8/30/2023
1.0.7 16,969 9/24/2021