-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: jingfelix <[email protected]>
- Loading branch information
Showing
18 changed files
with
36 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[project] | ||
name = "ppatch" | ||
version = "0.0.5b3" | ||
description = "Universal tool to analysis patches, bulit for Linux Kernel." | ||
name = "Patche" | ||
version = "0.0.1" | ||
description = "Modern Patch in Python" | ||
authors = [ | ||
{name = "jingfelix", email = "[email protected]"}, | ||
] | ||
|
@@ -22,7 +22,7 @@ requires = ["pdm-backend"] | |
build-backend = "pdm.backend" | ||
|
||
[project.scripts] | ||
ppatch = "ppatch.__init__:app" | ||
patche = "Patche.__init__:app" | ||
|
||
[tool.pdm] | ||
distribution = true | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
from rich import print | ||
|
||
from ppatch.app import app | ||
from ppatch.config import settings | ||
from Patche.app import app | ||
from Patche.config import settings | ||
|
||
|
||
@app.command("settings") | ||
def show_settings(): | ||
""" | ||
Show current settings | ||
""" | ||
print(settings.model_dump_json()) |
Oops, something went wrong.