ledo
cli for ledo annotation suite
Usage
$ npm install -g ledo
$ ledo COMMAND
running command...
$ ledo (-v|--version|version)
ledo/1.0.3 linux-x64 node-v16.15.0
$ ledo --help [COMMAND]
USAGE
$ ledo COMMAND
...
Commands
- help
- push
- ex: ledo push --dataset-id --dir <directory/path/>
- local ex: ./bin/run push --dataset-id --dir <directory/path/>
ledo config:destroy
ledo config:get
ledo config:set
ledo dataset
ledo export
ledo help [COMMAND]
ledo projects
ledo push
ledo config:destroy
Destroys your user configuration.
USAGE
$ ledo config:destroy
OPTIONS
-f, --force Force remove Ledo configuration from cache.
ledo config:get
Outputs your user configuration.
USAGE
$ ledo config:get
OPTIONS
-j, --json Output results in JSON. When not specified, returns output in a human friendly format.
ledo config:set
Sets your user configuration.
USAGE
$ ledo config:set
OPTIONS
-c, --company=company Company id for configuration.
-e, --email=email Email for configuration.
-j, --json Output results in JSON. When not specified, returns output in a human friendly format.
-k, --key=key Client id for configuration.
-n, --name=name Full name for configuration.
-o, --timeout=timeout Timeout for requests in ms.
-s, --secret=secret Client secret for configuration.
-t, --telemetry Enable error reporting for debugging purposes.
-u, --url=url API base URL for configuration.
-v, --environment=environment Environment to run in (production or development for token and permission checking).
ledo dataset
dataset related operations
USAGE
$ ledo dataset
OPTIONS
-l, --list list available dataset
-p, --page=page page to fetch
-s, --size=size number of dataset to fetch
ledo export
export project annotations
USAGE
$ ledo export
OPTIONS
--project-id=project-id (required) project id for which annotations shall be exported
ledo help [COMMAND]
display help for ledo
USAGE
$ ledo help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ledo projects
project related operations
USAGE
$ ledo projects
OPTIONS
-l, --list list available projects
-p, --page=page page to fetch
-s, --size=size number of projects to fetch
ledo push
upload file
USAGE
$ ledo push
OPTIONS
--dataset-id=dataset-id (required) dataset id
--dir=dir directory of files to upload
--file=file file path of file to upload
--file-type=file-type (required) specify the file type to upload
--fps=fps specify the extraction frame rate per second to upload video