Sample CLI
gway release build
Signature
(*, bump: bool = False, dist: bool = False, twine: bool = False, help_db: bool = True, projects:
bool = False, git: bool = False, all: bool = False, force: bool = False) -> None
Docstring
Build the project and optionally upload to PyPI.
Args:
bump (bool): Increment patch version if True.
dist (bool): Build distribution package if True.
twine (bool): Upload to PyPI if True.
force (bool): Skip version-exists check on PyPI if True.
git (bool): Require a clean git repo and commit/push after release if True.
vscode (bool): Build the vscode extension.
Sample CLI
gway release build-help-db
Sample CLI
gway release changes
Signature
(*, files=None, staged=False, context=3, max_bytes=200000, clip=False)
Docstring
Returns a unified diff of all recent textual changes in the git repo.
- Shows added/removed lines (ignores binary files).
- Includes unstaged (working directory) by default. Use staged=True to see only staged.
- 'files': Optionally filter by path(s) or file glob(s).
- 'context': Number of context lines in the diff (default 3).
- 'max_bytes': Truncate diff if too large (default 200,000).
Sample CLI
gway release create-shortcut
Signature
(name='Launch GWAY', target='gway.bat', hotkey='Ctrl+Alt+G', output_dir=None, icon=None)
Sample CLI
gway release loc
Docstring
Counts Python lines of code in the given directories, ignoring hidden files and directories.
Defaults to everything in the current GWAY release.
Sample CLI
gway web.app render-template
Signature
(*, title='GWAY', content='', css_files=None, js_files=None)