collections create

Create a new collection

Synopsis

omics publisher collections create
  --name=TEXT
  --description=FILE|TEXT
  --slug=TEXT
  [--tags=TAG1,TAG2,...]

Description

Create a new collection with the specified metadata. Collections are used to organize and manage data in the publisher.

Examples

Create a collection with basic metadata.

omics publisher collections create \
  --name "My Collection" \
  --description "A collection of genomic data" \
  --slug my-collection

Create a collection with tags for categorization.

omics publisher collections create \
  --name "Cancer Genomics" \
  --description "Cancer-related genomic datasets" \
  --slug cancer-genomics \
  --tags "cancer,genomics,research"

Load the description from a file.

omics publisher collections create \
  --name "My Collection" \
  --description @description.md \
  --slug my-collection

Flags

--name=TEXT

The name of the collection you want to create or manage.

--description=FILE|TEXT

A short summary or explanation of the purpose or contents of the collection. Use @<path> to load from a file.

--slug=TEXT

A unique identifier for the collection, often used in URLs for easy reference. Must be unique across all collections.

--tags=TAG1,TAG2,...

A comma-separated list of tags to categorize and organize the collection.

Last updated

Was this helpful?