Command-line reference

Installation

Python
Python 3.8+ is required.
1
pip install dipdup
Copied!
Check that DipDup CLI has been successfully installed:
1
dipdup --version
Copied!

Custom config name

By default DipDup is looking for a file named dipdup.yml in the current working directory. You can override that by explicitly telling where to find the config (one or many):
1
dipdup -c path/to/config.yml -c path/to/override/config.yml COMMAND
Copied!

Advanced Python logging

You may want to tune logging to get notifications on errors or enable debug messages. Specify path to a Python logging config in YAML format using --logging-config argument.
Default config to start with:
1
version: 1
2
disable_existing_loggers: false
3
formatters:
4
brief:
5
format: "%(levelname)-8s %(name)-35s %(message)s"
6
handlers:
7
console:
8
level: INFO
9
formatter: brief
10
class: logging.StreamHandler
11
stream : ext://sys.stdout
12
loggers:
13
SignalRCoreClient:
14
formatter: brief
15
dipdup.datasources.tzkt.datasource:
16
level: INFO
17
dipdup.datasources.tzkt.cache:
18
level: INFO
19
root:
20
level: INFO
21
handlers:
22
- console
Copied!
Last modified 5mo ago