.. toctree:: :maxdepth: 2 :caption: Contents:
Flowcept's CLI is available immediatelly after you run pip install flowcept.
flowcept --helpShows all available commands with their helper description and arguments.
flowcept --<function-name-with-dashes> [--<arg-name-with-dashes>=<value>] ...Rules:
- Commands come from :mod:`flowcept.cli` public functions.
- Underscores become hyphens (e.g., stream_messages → --stream-messages).
- Bool params work as flags (present/absent). Other params require a value.
Flowcept provides quick settings profiles to switch between common runtime modes:
flowcept --config-profile full-online
flowcept --config-profile full-telemetry
flowcept --config-profile mq-only
flowcept --config-profile full-offline
flowcept --config-profile mq-only-no-flushUse --init-settings to create a file, then optionally apply a profile:
flowcept --init-settings
flowcept --init-settings --full
flowcept --config-profile full-onlineMeaning:
flowcept --init-settings: create a minimal file fromDEFAULT_SETTINGS.flowcept --init-settings --full: copyresources/sample_settings.yaml.flowcept --config-profile ...: modify the existing file in place.
Adapter flags are additive:
flowcept --init-settings --dask -y
flowcept --init-settings --mlflow -y
flowcept --init-settings --tensorboard -yThey add adapters.<name> to the current settings file instead of replacing it.
Behavior:
- Prints the exact settings keys that will change and their new values.
- Prompts for confirmation before writing changes.
- Writes to FLOWCEPT_SETTINGS_PATH when set; otherwise writes to ~/.flowcept/settings.yaml.
Use -y (or --yes) to skip the confirmation prompt:
flowcept --config-profile full-online -yCurrent profile values:
full-online: -project.db_flush_mode: online-mq.enabled: true-kv_db.enabled: true-databases.mongodb.enabled: true-databases.lmdb.enabled: false-db_buffer.insertion_buffer_time_secs: 5full-telemetry: - enables CPU, per-CPU, process, memory, disk, network, and machine telemetry -telemetry_capture.gpu: nullmq-only: -project.db_flush_mode: online-mq.enabled: true-kv_db.enabled: false-databases.mongodb.enabled: false-databases.lmdb.enabled: false- UseFlowcept(check_safe_stops=False)with this profile.full-offline: -project.db_flush_mode: offline-project.dump_buffer.enabled: true-mq.enabled: false-kv_db.enabled: false-databases.mongodb.enabled: false-databases.lmdb.enabled: falsemq-only-no-flush: -project.db_flush_mode: offline-project.dump_buffer.enabled: true-mq.enabled: true-kv_db.enabled: false-databases.mongodb.enabled: false-databases.lmdb.enabled: false- Tasks accumulate locally during the run and are bulk-published to MQ in a singleend-of-run flush. A local JSONL copy is also written. No persistent DB is required.
- Use
Flowcept(check_safe_stops=False)with this profile.
- Use
Environment variables can override settings values at runtime. This matters for keys such as
MONGO_ENABLED, LMDB_ENABLED, LMDB_PATH, MQ_ENABLED, MQ_TYPE, MQ_PORT, and DB_FLUSH_MODE.
.. automodule:: flowcept.cli :members: :member-order: bysource :undoc-members: :exclude-members: main, no_docstring, COMMAND_GROUPS, COMMANDS