跳到主要内容

Dataset Management Command:dataset

List all datasets:list

Entry:

bohr dataset list

Summary:

Usage:
bohr dataset list [flags]

Aliases:
list, ls

Flags:
--csv Output in CSV format
-h, --help help for list
--json Output in JSON format
--yaml Output in YAML format

Example:

$ bohr dataset list --json # View all datasets in JSON format
$ bohr dataset list # View all datasets (Press Ctrl+C to exit)

dataset list

Create dataset:create

Entry:

bohr dataset create

Summary:

Usage:
bohr dataset create [flags]

Examples:
$ bohr dataset create


Flags:
-m, --comment string dataset description
-h, --help help for create
-l, --lp string file local path
-n, --name string dataset name
-p, --path string dataset path
-i, --pid int project id

Parameter description:

ParameterAbbreviationDescriptionRequired
--comment-mDataset Description
--name-nDataset Name
--path-pDataset Path
--pid-iproject ID
--lp-lproject id

案例:

$ bohr dataset create -n bigfile -p bigfile -i 26611 -l "/Users/dp/Downloads/test"
# Upload the test file to the bigfile dataset.
# Interrupt the creation during the upload process.
# Re-enter the same command and input ‘y’ to continue the upload.

dataset create