Skip to content

Commit 98c374c

Browse files
Shorten subcommand module names to match class names
Signed-off-by: Jacob Stopak <jacob@initialcommit.io>
1 parent cb262b1 commit 98c374c

File tree

14 files changed

+26
-26
lines changed

14 files changed

+26
-26
lines changed

git_sim/__main__.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88

99
import typer
1010

11-
import git_sim.git_sim_add
12-
import git_sim.git_sim_branch
13-
import git_sim.git_sim_cherrypick
14-
import git_sim.git_sim_commit
15-
import git_sim.git_sim_log
16-
import git_sim.git_sim_merge
17-
import git_sim.git_sim_rebase
18-
import git_sim.git_sim_reset
19-
import git_sim.git_sim_restore
20-
import git_sim.git_sim_revert
21-
import git_sim.git_sim_stash
22-
import git_sim.git_sim_status
23-
import git_sim.git_sim_tag
11+
import git_sim.add
12+
import git_sim.branch
13+
import git_sim.cherrypick
14+
import git_sim.commit
15+
import git_sim.log
16+
import git_sim.merge
17+
import git_sim.rebase
18+
import git_sim.reset
19+
import git_sim.restore
20+
import git_sim.revert
21+
import git_sim.stash
22+
import git_sim.status
23+
import git_sim.tag
2424
from git_sim.settings import ImgFormat, Settings, VideoFormat
2525

2626
app = typer.Typer()
@@ -123,19 +123,19 @@ def main(
123123
Settings.video_format = video_format
124124

125125

126-
app.command()(git_sim.git_sim_add.add)
127-
app.command()(git_sim.git_sim_branch.branch)
128-
app.command()(git_sim.git_sim_cherrypick.cherrypick)
129-
app.command()(git_sim.git_sim_commit.commit)
130-
app.command()(git_sim.git_sim_log.log)
131-
app.command()(git_sim.git_sim_merge.merge)
132-
app.command()(git_sim.git_sim_rebase.rebase)
133-
app.command()(git_sim.git_sim_reset.reset)
134-
app.command()(git_sim.git_sim_restore.restore)
135-
app.command()(git_sim.git_sim_revert.revert)
136-
app.command()(git_sim.git_sim_stash.stash)
137-
app.command()(git_sim.git_sim_status.status)
138-
app.command()(git_sim.git_sim_tag.tag)
126+
app.command()(git_sim.add.add)
127+
app.command()(git_sim.branch.branch)
128+
app.command()(git_sim.cherrypick.cherrypick)
129+
app.command()(git_sim.commit.commit)
130+
app.command()(git_sim.log.log)
131+
app.command()(git_sim.merge.merge)
132+
app.command()(git_sim.rebase.rebase)
133+
app.command()(git_sim.reset.reset)
134+
app.command()(git_sim.restore.restore)
135+
app.command()(git_sim.revert.revert)
136+
app.command()(git_sim.stash.stash)
137+
app.command()(git_sim.status.status)
138+
app.command()(git_sim.tag.tag)
139139

140140

141141
if __name__ == "__main__":
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)