gitglimpse 0.1.6__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/.gitignore +3 -0
  2. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/PKG-INFO +1 -1
  3. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/pyproject.toml +1 -1
  4. gitglimpse-0.1.7/src/gitglimpse/__init__.py +1 -0
  5. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/cli.py +16 -7
  6. gitglimpse-0.1.6/src/gitglimpse/__init__.py +0 -1
  7. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/LICENSE +0 -0
  8. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/PYPI_README.md +0 -0
  9. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/commands/__init__.py +0 -0
  10. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/commands/pr.md +0 -0
  11. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/commands/report.md +0 -0
  12. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/commands/standup.md +0 -0
  13. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/commands/week.md +0 -0
  14. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/config.py +0 -0
  15. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/estimation.py +0 -0
  16. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/formatters/__init__.py +0 -0
  17. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/formatters/json.py +0 -0
  18. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/formatters/markdown.py +0 -0
  19. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/formatters/pr.py +0 -0
  20. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/formatters/template.py +0 -0
  21. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/git.py +0 -0
  22. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/grouping.py +0 -0
  23. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/onboarding.py +0 -0
  24. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/providers/__init__.py +0 -0
  25. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/providers/base.py +0 -0
  26. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/providers/claude.py +0 -0
  27. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/providers/gemini.py +0 -0
  28. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/providers/local.py +0 -0
  29. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/providers/openai.py +0 -0
  30. {gitglimpse-0.1.6 → gitglimpse-0.1.7}/src/gitglimpse/py.typed +0 -0
@@ -213,3 +213,6 @@ __marimo__/
213
213
  # Build
214
214
  *.pyc
215
215
  .venv/
216
+
217
+ .claude/
218
+ .cursor
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitglimpse
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Extract structured context from your git history — PR descriptions, standups, weekly reports, and LLM-ready JSON.
5
5
  Project-URL: Homepage, https://github.com/dino/gitglimpse
6
6
  Project-URL: Repository, https://github.com/dino/gitglimpse
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "gitglimpse"
7
- version = "0.1.6"
7
+ version = "0.1.7"
8
8
  description = "Extract structured context from your git history — PR descriptions, standups, weekly reports, and LLM-ready JSON."
9
9
  readme = "PYPI_README.md"
10
10
  authors = [{ name = "Dino" }]
@@ -0,0 +1 @@
1
+ __version__ = "0.1.7"
@@ -887,7 +887,11 @@ def _write_command_file(
887
887
  def init(
888
888
  cursor: Annotated[
889
889
  bool,
890
- typer.Option("--cursor", help="Also create .cursor/commands/ files."),
890
+ typer.Option("--cursor", help="Create .cursor/commands/ files."),
891
+ ] = False,
892
+ claude: Annotated[
893
+ bool,
894
+ typer.Option("--claude", help="Create .claude/commands/ files."),
891
895
  ] = False,
892
896
  force: Annotated[
893
897
  bool,
@@ -898,19 +902,24 @@ def init(
898
902
  typer.Option("--repo", help="Target repository root. Defaults to current directory."),
899
903
  ] = None,
900
904
  ) -> None:
901
- """Initialize Claude Code (and optionally Cursor) slash-command files.
905
+ """Initialize Claude Code and/or Cursor slash-command files.
902
906
 
903
907
  \b
904
908
  Examples:
905
- glimpse init
906
- glimpse init --cursor
909
+ glimpse init # Claude Code only (default)
910
+ glimpse init --cursor # Cursor only
911
+ glimpse init --claude --cursor # both
907
912
  glimpse init --force
908
913
  """
909
914
  root = Path(repo) if repo else Path.cwd()
910
915
 
911
- targets: list[tuple[Path, str]] = [
912
- (root / ".claude" / "commands", "Claude Code"),
913
- ]
916
+ # Default to Claude Code if neither flag is specified.
917
+ if not cursor and not claude:
918
+ claude = True
919
+
920
+ targets: list[tuple[Path, str]] = []
921
+ if claude:
922
+ targets.append((root / ".claude" / "commands", "Claude Code"))
914
923
  if cursor:
915
924
  targets.append((root / ".cursor" / "commands", "Cursor"))
916
925
 
@@ -1 +0,0 @@
1
- __version__ = "0.1.6"
File without changes
File without changes