18 lines
438 B
Python
18 lines
438 B
Python
import sys
|
|
from src.analyzer import RepositoryAnalyzer, RepositoryAnalyzerConfig
|
|
|
|
llms_txt_generator = RepositoryAnalyzer(
|
|
config=RepositoryAnalyzerConfig()
|
|
)
|
|
|
|
def main():
|
|
try:
|
|
|
|
llms_txt_generator.push_to_hub("johwang/llms-txt-generator", with_code=True, commit_message="Add quickstart to README.md")
|
|
|
|
except Exception as e:
|
|
print(f"Error: {e}", file=sys.stderr)
|
|
|
|
if __name__ == "__main__":
|
|
main()
|