CLI Usage¶
cotk
provides command line interface.
Usage: cotk <command> [...]
command list:
import Import local files to cotk cache.
config Set variables at the config file (at ~/.cotk_config).
Import¶
The following command can import a local file of resources into cache:
cotk import <file_id> <file_path>
where file_id
should start with resources://
, and file_path
is the path to the local resource. For example:
cotk import resources://MSCOCO ./MSCOCO.zip