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

Config

It can set global variables of the cotk. (Not used yet.) An variable should be a string without space.

Set Variable

The variable will be set according to the value.

cotk set <variable> <value>

Show Variable

The variable will be shown

cotk show <variable>