Skip to content

Commit dfe3b83

Browse files
authored
Update cherrypick subcommand name to cherry-pick (#51)
1 parent f450f14 commit dfe3b83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git_sim/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def main(
125125

126126
app.command()(git_sim.add.add)
127127
app.command()(git_sim.branch.branch)
128-
app.command()(git_sim.cherrypick.cherrypick)
128+
app.command()(git_sim.cherrypick.cherry_pick)
129129
app.command()(git_sim.commit.commit)
130130
app.command()(git_sim.log.log)
131131
app.command()(git_sim.merge.merge)

git_sim/cherrypick.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def construct(self):
7070
self.show_outro()
7171

7272

73-
def cherrypick(
73+
def cherry_pick(
7474
commit: str = typer.Argument(
7575
...,
7676
help="The ref (branch/tag), or commit ID to simulate cherry-pick onto active branch",

0 commit comments

Comments
 (0)