# nomctl dataset

```text
Dataset management commands

Usage: nomctl dataset <COMMAND>

Commands:
  list       List all datasets
  get        Get a specific dataset by RID
  create     Create a new dataset
  update     Update dataset metadata
  archive    Archive a dataset
  unarchive  Unarchive a dataset
  help       Print this message or the help of the given subcommand(s)

Options:
  -h, --help
          Print help
```

## nomctl dataset list

```text
List all datasets

Usage: nomctl dataset list

Options:
  -h, --help
          Print help
```

## nomctl dataset get

```text
Get a specific dataset by RID

Usage: nomctl dataset get <RID>

Arguments:
  <RID>
          The RID of the dataset to retrieve

Options:
  -h, --help
          Print help
```

## nomctl dataset create

```text
Create a new dataset

Usage: nomctl dataset create [OPTIONS] --name <NAME>

Options:
  -n, --name <NAME>
          The dataset name

  -d, --description <DESCRIPTION>
          Set the dataset description

  -l, --label <LABEL>
          Add labels. Repeatable

  -p, --property <KEY> <VALUE>
          Add properties as KEY VALUE pairs. Repeatable

  -h, --help
          Print help
```

## nomctl dataset update

```text
Update dataset metadata

Usage: nomctl dataset update [OPTIONS] <RID>

Arguments:
  <RID>
          The RID of the dataset to update

Options:
  -n, --name <NAME>
          Set the dataset name

  -d, --description <DESCRIPTION>
          Set the dataset description

  -l, --label <LABEL>
          Replace all labels. Repeatable. Omit to leave labels unchanged

      --clear-labels
          Clear all labels

  -p, --property <KEY> <VALUE>
          Replace all properties as KEY VALUE pairs. Repeatable. Omit to leave properties unchanged

      --clear-properties
          Clear all properties

  -h, --help
          Print help
```

## nomctl dataset archive

```text
Archive a dataset

Usage: nomctl dataset archive <RID>

Arguments:
  <RID>
          The RID of the dataset to archive

Options:
  -h, --help
          Print help
```

## nomctl dataset unarchive

```text
Unarchive a dataset

Usage: nomctl dataset unarchive <RID>

Arguments:
  <RID>
          The RID of the dataset to unarchive

Options:
  -h, --help
          Print help
```
