-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
63 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
silly_pyproject_name | ||
======================== | ||
Silly PyProject Name | ||
==================== | ||
|
||
Stuff | ||
This is an example application for a | ||
multi-command | ||
application | ||
using | ||
:code:`gather`. | ||
|
||
The most important code is in: | ||
|
||
* ``__init__.py``: This registers the :code:`ENTRY_DATA` object. | ||
* ``__main__.py``: This is the CLI entrypoint, using :code:`ENTRY_DATA`. | ||
* ``git.py``: This shows how to run command-line tools. | ||
* ``name.py``: This shows how to log and support dry-run manually. |
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,5 +1,5 @@ | ||
import importlib.metadata | ||
from gather import entry | ||
|
||
ENTRY_DATA = entry.EntryData.create(__name__) | ||
ENTRY_DATA = entry.EntryData.create(__name__, prefix="silly-pyproject-name") | ||
__version__ = importlib.metadata.version(__name__) |
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