Extract cli/core; move vote/harvest/admin under issues - #1664
Open
LandynDev wants to merge 1 commit into
Open
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.
Part of repo-registration phase 2a (task 2a-1).
Extracts generic CLI infrastructure out of
issue_commandsintogittensor/cli/core/so upcominggitt repoandgitt validatorgroups can build on it without importing issue code:core/help.py- Styled Click group/command classes (moved verbatim)core/json_output.py- JSON envelope helpers (moved fromcli/json_output.py)core/helpers.py- config/network resolution, wallet/network/behavior option decorators, console output, confirm prompt, GitHub + SS58 validation,format_alphacore/types.py-REPOandSS58param typesissue_commandskeeps only issue-specific pieces: bounty validation, issue contract-storage readers, PR-submission rendering,CONTRACT_ISSUE/GITHUB_ISSUEtypes.Regroups root commands under the issues group, freeing the top-level namespace for phase 2a-7:
gitt vote ...->gitt issues vote ...gitt harvest->gitt issues harvestgitt admin ...->gitt issues admin ...(aliasgitt i a ...)No behavior changes inside commands; imports, docstrings, and tests repointed. 202 CLI tests pass.