Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /topoteretes_cognee /cognee /cli /reference.py
| from abc import abstractmethod | |
| from typing import Protocol, Optional | |
| import argparse | |
| class SupportsCliCommand(Protocol): | |
| """Protocol for defining one cognee cli command""" | |
| command_string: str | |
| """name of the command""" | |
| help_string: str | |
| """the help string for argparse""" | |
| description: Optional[str] | |
| """the more detailed description for argparse, may include markdown for the docs""" | |
| docs_url: Optional[str] | |
| """the default docs url to be printed in case of an exception""" | |
| def configure_parser(self, parser: argparse.ArgumentParser) -> None: | |
| """Configures the parser for the given argument""" | |
| ... | |
| def execute(self, args: argparse.Namespace) -> None: | |
| """Executes the command with the given arguments""" | |
| ... | |
Xet Storage Details
- Size:
- 824 Bytes
- Xet hash:
- dbbe9860b2015275dab9824823ca1aa51f3329277e087effe4abed59649f0f46
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.