Here we provide the specifications, complete descriptions, and comprehensive usage examples for base commands. For a list of commands, type base --help.
Import data files or external meta data files into Base project.
Synopsis
usage: base import project [-d <datafiles-dirpath>] [-e <datafile-extension>] [-c <path-parsing-rule>] [-m] [-p <external-filepath>] [-a <additional-key-value>]
positional arguments:
project your project name to import.
Description
This command provide you the way to import meta data related with data file paths and defined in external files such as .xlsx, .csv.
You have to select import mode as data files or external files.
If you want to import data files, you have to specify -d, -c and -e options (or prompt ask you interactively).
And then, Base will take below actions.
parsing-rule.{
"FileHash": String,
"MetaKey1": ...,
...
}
If you want to import external files, you have to specify -m and -p options.