Skip to main content

cli.list

Overview

  • Lists registered CLI commands. Optionally filter by category.

Metadata

FieldValue
DisplayList CLI Commands
Categorycli
AccessPublic
ScopeBoth
Tags
Aliases

Parameters

NameTypeRequiredDefaultDescription
categorystringnoCategory filter (e.g. stat, economy)

Returns

Returns a JSON array; each element is an object with the following fields:

FieldTypeRequiredDescription
idstringyesCommand identifier
categorystringyesCommand category
displaystringyesDisplay name
accessstringyesAccess level
scopestringyesExecution scope
experimentalboolyesWhether the command is experimental
has_returnsboolyesWhether a return schema is declared

Usage

await inzoi.cli.execute('cli.list', {
category: '', // optional
});