paper_firehose.commands.topic_cmd¶
Topic management CLI subcommands.
Functions
|
Create a new topic config file. |
|
Return available topics with names and descriptions. |
|
Return a topic config as formatted YAML. |
- paper_firehose.commands.topic_cmd.add_topic(config_path, name, *, from_topic=None)[source]¶
Create a new topic config file.
- Parameters:
- Return type:
- Returns:
Path to the created file.
- Raises:
ValueError – If the name is invalid or the topic already exists.