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)
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:
Parameter | Abbreviation | Description | Required |
---|---|---|---|
--comment | -m | Dataset Description | 否 |
--name | -n | Dataset Name | 是 |
--path | -p | Dataset Path | 是 |
--pid | -i | project ID | 是 |
--lp | -l | project 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.