MCPcopy Index your code
hub / github.com/initialcommit-com/git-sim / add

Function add

src/git_sim/commands.py:21–31  ·  view source on GitHub ↗
(
    files: List[str] = typer.Argument(
        default=None,
        help="The names of one or more files to add to Git's staging area",
    )
)

Source from the content-addressed store, hash-verified

19
20
21def add(
22 files: List[str] = typer.Argument(
23 default=None,
24 help="The names of one or more files to add to Git's staging area",
25 )
26):
27 from git_sim.add import Add
28
29 settings.hide_first_tag = True
30 scene = Add(files=files)
31 handle_animations(scene=scene)
32
33
34def branch(

Callers

nothing calls this directly

Calls 2

AddClass · 0.90
handle_animationsFunction · 0.70

Tested by

no test coverage detected