@ceramicstudio/idx-cli v0.10.0
IDX CLI
Installation
npm install -g @ceramicstudio/idx-cliUsage
idx COMMANDidx bootstrapidx config:get KEYidx config:reset KEYidx config:set KEY VALUEidx config:showidx definition:check IDidx definition:create DIDidx definition:info IDidx definition:schema IDidx did:createidx did:delete DIDidx did:label DID [LABEL]idx did:listidx did:sign DID CONTENTSidx did:verify JWSidx help [COMMAND]idx index:get DID KEYidx index:inspect DIDidx index:merge DID KEY CONTENTSidx index:set DID KEY CONTENTSidx schema:publish DID SCHEMAidx tile:create DID CONTENTSidx tile:get IDidx tile:merge DID ID CONTENTSidx tile:set DID ID CONTENTS
idx bootstrap
bootstrap IDX on a Ceramic node
USAGE
$ idx bootstrap
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/bootstrap.js
idx config:get KEY
get a config value
USAGE
$ idx config:get KEY
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/config/get.js
idx config:reset KEY
reset a config value
USAGE
$ idx config:reset KEY
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/config/reset.js
idx config:set KEY VALUE
set a config value
USAGE
$ idx config:set KEY VALUE
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/config/set.js
idx config:show
show the full config
USAGE
$ idx config:show
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/config/show.js
idx definition:check ID
check if a stream is a valid definition
USAGE
$ idx definition:check ID
ARGUMENTS
ID stream ID to check
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/definition/check.js
idx definition:create DID
create a definition
USAGE
$ idx definition:create DID
ARGUMENTS
DID DID to create the definition with
OPTIONS
-c, --ceramic=ceramic Ceramic API URL
-d, --description=description (required) description of the definition
-n, --name=name (required) name of the definition
-s, --schema=schema (required) schema for the definition contents
-u, --url=url documentation URL for the definitionSee code: lib/commands/definition/create.js
idx definition:info ID
displays information about a definition
USAGE
$ idx definition:info ID
ARGUMENTS
ID stream ID or alias of the definition
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/definition/info.js
idx definition:schema ID
displays the schema for a definition contents
USAGE
$ idx definition:schema ID
ARGUMENTS
ID stream ID or alias of the definition
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/definition/schema.js
idx did:create
create a new DID
USAGE
$ idx did:create
OPTIONS
-c, --ceramic=ceramic Ceramic API URL
-l, --label=label label for the DID
-s, --seed=seed base16-encoded seed to use for the DIDSee code: lib/commands/did/create.js
idx did:delete DID
delete a local DID
USAGE
$ idx did:delete DID
OPTIONS
-c, --ceramic=ceramic Ceramic API URL
-f, --force bypass confirmation promptSee code: lib/commands/did/delete.js
idx did:label DID [LABEL]
manage the label for a DID
USAGE
$ idx did:label DID [LABEL]
OPTIONS
-c, --ceramic=ceramic Ceramic API URL
-d, --delete delete the labelSee code: lib/commands/did/label.js
idx did:list
list the DIDs stored locally
USAGE
$ idx did:list
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/did/list.js
idx did:sign DID CONTENTS
create a JSON Web Signature
USAGE
$ idx did:sign DID CONTENTS
ARGUMENTS
DID DID or label
CONTENTS String-encoded JSON data
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/did/sign.js
idx did:verify JWS
verify a JSON Web Signature
USAGE
$ idx did:verify JWS
ARGUMENTS
JWS JSON Web Signature
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/did/verify.js
idx help [COMMAND]
display help for idx
USAGE
$ idx help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLISee code: @oclif/plugin-help
idx index:get DID KEY
get the contents of a key in IDX
USAGE
$ idx index:get DID KEY
ARGUMENTS
DID DID or label
KEY
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/index/get.js
idx index:inspect DID
inspect the contents of an IDX stream
USAGE
$ idx index:inspect DID
ARGUMENTS
DID DID or label
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/index/inspect.js
idx index:merge DID KEY CONTENTS
merge the contents of a key in IDX
USAGE
$ idx index:merge DID KEY CONTENTS
ARGUMENTS
DID DID or label
KEY
CONTENTS String-encoded JSON data
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/index/merge.js
idx index:set DID KEY CONTENTS
set the contents of a key in IDX
USAGE
$ idx index:set DID KEY CONTENTS
ARGUMENTS
DID DID or label
KEY
CONTENTS String-encoded JSON data
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/index/set.js
idx schema:publish DID SCHEMA
publish a schema
USAGE
$ idx schema:publish DID SCHEMA
ARGUMENTS
DID DID or label
SCHEMA String-encoded JSON schema
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/schema/publish.js
idx tile:create DID CONTENTS
create a new tile stream
USAGE
$ idx tile:create DID CONTENTS
ARGUMENTS
DID DID or label
CONTENTS String-encoded JSON data
OPTIONS
-c, --ceramic=ceramic Ceramic API URL
-s, --schema=schema StreamID of the schema validating the contentsSee code: lib/commands/tile/create.js
idx tile:get ID
get the contents of a tile stream
USAGE
$ idx tile:get ID
ARGUMENTS
ID Stream ID
OPTIONS
-c, --ceramic=ceramic Ceramic API URL
--did=did DID or labelSee code: lib/commands/tile/get.js
idx tile:merge DID ID CONTENTS
merge the contents of a tile stream
USAGE
$ idx tile:merge DID ID CONTENTS
ARGUMENTS
DID DID or label
ID Stream ID
CONTENTS String-encoded JSON data
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/tile/merge.js
idx tile:set DID ID CONTENTS
set the contents of a tile document
USAGE
$ idx tile:set DID ID CONTENTS
ARGUMENTS
DID DID or label
ID Document ID
CONTENTS String-encoded JSON data
OPTIONS
-c, --ceramic=ceramic Ceramic API URLSee code: lib/commands/tile/set.js
License
Apache-2.0 OR MIT