feat: add quickstart command and modernize python scaffold#89
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Overview
Added a new
gitgo newquickstart command that chains local scaffolding, remote repo creation, and pushing into a single step. The oldnewcommand was renamed torepoto clearly indicate it only creates the remote repository, also modernized the python scaffold to usepyproject.toml.Closes #76
Changes
gitgo repo: renamed fromgitgo newto handle just the github remote creation.gitgo new: now acts as a quickstart command that executesinit,repo, andlinksequentially.init.py: updated the python scaffold to writepyproject.tomland.python-versioninstead ofrequirements.txt.link.py: extractedlink_coreand added asilentflag to suppress duplicate banners when called internally by the new command.CHANGELOG.md: documented the command additions and python scaffold changes.README.md: updated the content of readme due to new commands additions.How to Test
pip install -e ".[dev]"gitgo new test-app python --privatetest-appis created with apyproject.toml, a private remote repotest-appis created on your github, the code is automatically committed and pushed, and the custom "PROJECT LAUNCHED" banner is printed.pytestChecklist
CHANGELOG.mdunder the[Unreleased]sectionREADME.md(if I added or changed a command)