cli.yml 2.42 KB
Newer Older
Gav's avatar
Gav committed
1
name: polkadot
Gav's avatar
Gav committed
2
author: "Parity Team <admin@parity.io>"
Gav's avatar
Gav committed
3
4
5
6
about: Polkadot Node Rust Implementation
args:
  - log:
      short: l
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
7
      long: log
Gav's avatar
Gav committed
8
      value_name: LOG_PATTERN
9
10
      help: Sets a custom logging filter
      takes_value: true
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
11
12
13
14
15
16
  - base-path:
      long: base-path
      short: d
      value_name: PATH
      help: Specify custom base path
      takes_value: true
17
  - keystore-path:
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
18
19
20
21
22
23
24
25
      long: keystore-path
      value_name: PATH
      help: Specify custom keystore path
      takes_value: true
  - key:
      long: key
      value_name: STRING
      help: Specify additional key seed
Gav's avatar
Gav committed
26
      takes_value: true
27
28
29
  - node-key:
      long: node-key
      value_name: KEY
Gav Wood's avatar
Gav Wood committed
30
      help: Specify node secret key (64-character hex string)
31
      takes_value: true
Gav's avatar
Gav committed
32
  - collator:
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
33
34
35
      long: collator
      help: Enable collator mode
      takes_value: false
Gav's avatar
Gav committed
36
  - validator:
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
37
38
39
      long: validator
      help: Enable validator mode
      takes_value: false
40
41
42
43
  - light:
      long: light
      help: Run in light client mode
      takes_value: false
Gav Wood's avatar
Gav Wood committed
44
45
46
47
48
49
50
51
  - dev:
      long: dev
      help: Run in development mode; implies --chain=dev --validator --key Alice
      takes_value: false
  - build-genesis:
      long: build-genesis
      help: Build a genesis.json file, outputing to stdout
      takes_value: false
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
52
53
54
55
56
57
58
59
  - port:
      long: port
      value_name: PORT
      help: Specify p2p protocol TCP port
      takes_value: true
  - rpc-port:
      long: rpc-port
      value_name: PORT
60
61
62
63
64
65
      help: Specify HTTP RPC server TCP port
      takes_value: true
  - ws-port:
      long: ws-port
      value_name: PORT
      help: Specify WebSockets RPC server TCP port
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
66
67
68
69
70
71
72
      takes_value: true
  - bootnodes:
      long: bootnodes
      value_name: URL
      help: Specify a list of bootnodes
      takes_value: true
      multiple: true
Gav Wood's avatar
Gav Wood committed
73
74
75
  - chain:
      long: chain
      value_name: CHAIN_SPEC
76
      help: Specify the chain specification (one of dev, local or poc-2)
Gav Wood's avatar
Gav Wood committed
77
      takes_value: true
Gav Wood's avatar
Gav Wood committed
78
79
80
81
82
83
84
85
86
87
88
89
90
  - name:
      long: name
      value_name: NAME
      help: The human-readable name for this node, as reported to the telemetry server, if enabled
      takes_value: true
  - telemetry:
      short: t
      long: telemetry
      help: Should connect to the Polkadot telemetry server (off by default)
      takes_value: false
  - telemetry-url:
      long: telemetry-url
      value_name: TELEMETRY_URL
Gav Wood's avatar
Gav Wood committed
91
      help: The URL of the telemetry server. Implies --telemetry
Gav Wood's avatar
Gav Wood committed
92
      takes_value: true
Arkadiy Paronyan's avatar
Arkadiy Paronyan committed
93
subcommands: