CosmicWorks 3.0.0-preview.1
This is a prerelease version of CosmicWorks.
dotnet tool install --global CosmicWorks --version 3.0.0-preview.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local CosmicWorks --version 3.0.0-preview.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CosmicWorks&version=3.0.0-preview.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package CosmicWorks --version 3.0.0-preview.1
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 --version 3.x --prerelease
usage
cosmicworks generate employees
cosmicworks generate products
Arguments
Description | Remarks | |
---|---|---|
--connection-string (-c ) |
Connection string for 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 argument has a higher precedent than --connection-string . |
--quantity |
Number of items to generate | |
--disable-hierarchical-partition-keys |
Disables the creation of hierarchical partition keys | This argument is useful for working in environments, like the emulator, where hierarchical partition keys are not supported. |
--endpoint |
Endpoint for an Azure Cosmos DB for NoSQL account. | |
--help (-h ) |
Renders help information and examples. | |
--version (-v ) |
Renders version information. |
Examples
Generate all data for the
products
dataset in the Azure Cosmos DB emulator.cosmicworks generate products --emulator
Generate a subset of data in the
employees
dataset in an account using Microsoft Entra ID authentication.cosmicworks generate employees --endpoint "<ACCOUNT_ENDPOINT>" --quantity 50
Generate data in a live Azure Cosmos DB for NoSQL account using a connection string and a custom database and container name.
cosmicworks generate products --connection-string "<ACCOUNT_CONNECTION_STRING>" --database-name "<DATABASE_NAME>" --container-name "<CONTAINER_NAME>"
If you enable Microsoft Entra ID authentication, the database and container resources are NOT created on your behalf.
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. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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.
This package has no dependencies.
Version | Downloads | Last Updated |
---|---|---|
3.0.0-preview.1 | 155 | 5/29/2025 |
2.3.1 | 1,173 | 11/21/2024 |
2.2.0 | 297 | 10/24/2024 |
2.1.0 | 1,405 | 4/9/2024 |
2.0.3 | 2,275 | 8/30/2023 |