Skip to main content

feat: add working application and synthetic sample data

GBB Demo authored on Nov 2, 2026

commit 39b8c78abfd2

Root commit: changes are relative to an empty tree.

4 files changed, +44 −0

  • .gitignore+3 −0
    @@ -1,0 +1,3 @@
    1+__pycache__/
    2+node_modules/
    3+.env
  • README.md+5 −0
    @@ -1,0 +1,5 @@
    1+# Developer CLI
    2+
    3+A small command-line project inspector with human-readable and JSON output.
    4+
    5+Synthetic evaluation project.
  • app.py+21 −0
    @@ -1,0 +1,21 @@
    1+import argparse
    2+import json
    3+from pathlib import Path
    4+
    5+def inspect_project(root):
    6+ root = Path(root)
    7+ files = sorted(path.relative_to(root).as_posix() for path in root.rglob("*")
    8+ if path.is_file() and not any(part.startswith(".") or part == "__pycache__" for part in path.relative_to(root).parts))
    9+ return {"name": root.name, "files": files, "count": len(files)}
    10+
    11+def main():
    12+ parser = argparse.ArgumentParser(description="Inspect a demo project")
    13+ parser.add_argument("path", nargs="?", default=".")
    14+ parser.add_argument("--json", action="store_true")
    15+ args = parser.parse_args()
    16+ report = inspect_project(args.path)
    17+ print(json.dumps(report, indent=2) if args.json else f"{report['name']}: {report['count']} files")
    18+
    19+if __name__ == "__main__":
    20+ main()
    21+
  • data/sample.json+15 −0
    @@ -1,0 +1,15 @@
    1+{
    2+ "environment": "demo",
    3+ "items": [
    4+ {
    5+ "id": "sample-1",
    6+ "name": "Explore the source",
    7+ "done": true
    8+ },
    9+ {
    10+ "id": "sample-2",
    11+ "name": "Review the draft PR",
    12+ "done": false
    13+ }
    14+ ]
    15+}