Cleo 3.0 writeup
@Secrus ci sta già lavorando.
Dal 30/3/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Below is a list of changes, required bugfixes and planned features for the next version of Cleo, Cleo 3.0. The list is not finished, it might evolve, change and expand. It's, basically, a download of my plans and ideas for Cleo.
Cleo 3.0 writeup
Docs
- Rewrite docs from scratch
- user docs
- usage examples
New features
- new CLI parser
- introduce dynamic and static (user's choice) completions
- introduce Powershell completions
- introduce
TreeUI component (extract the implementation frompoetry showcommand) - replace the usage of
rapidfuzzwithdifflib(dependent on new parser semantics) - remove namespace commands in favor of subcommands registered on commands (dependent on new parser semantics)
- integration with
logging - add helper functions for text transformations (colors, underline etc)
Refactorings
- use
@property.getter/@property.setterinstead ofget_*/set_*methods - UI components should be behind proxy
UI()object instead of as methods onCommand - Commands should not need
Applicationreference - cleanup Windows support options into a separate module
helpandlistcommands replacement (should be handled by the new parser)- colors and ansi escape sequences should be properly handled along with FORCE_COLOR/NO_COLOR and terminal features detection
- strict API design (consider which methods/functions/classes need to be available and make stuff private/hidden, use
__all__) - simplify lazy command loading (still easy to register new commands for
poetryplugins)
Typing
- remove all (or as much as possible) usage of optional types and
Any - for types, all complex (more than 1 level deep) types should have a nice alias
To consider
- drop event handling (
cleo.events)
Misc
- "inbox-zero" on issue tracker (aka resolve all issues)
- test coverage in 90+% range
Best case scenario
This is a list of optional requirements that will not stop a release from happening if not completed
- make highlighter extendable (json highlighting etc)
- provide Protocols/hooks/base classes to easily modify or extend default behavior
- dev docs with deep dive into inner works of every part of code
"I want to help!"
First of all, thank you.
Second, if you want to tackle one of the issues mentioned here or an issue from the issue tracker, please comment under this issue what you want to take care of. That will allow us to avoid duplicating our work. When in doubt, feel free to reach out in issues or on our Discord channel
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 104
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di python-poetry/cleo
-
question
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-poetry/cleo#471 · 2 commenti ·
-
feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-poetry/cleo#467 · 1 reazione ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
python-poetry/cleo#434 · 1 commento ·
-
Support for clink completionApertafeature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-poetry/cleo#433 · 4 commenti ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
python-poetry/cleo#423 · 9 commenti ·
Tutte le issue di python-poetry/cleo
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
modelcontextprotocol/python-sdk#3648 ·
I maintainer di solito rispondono entro 1 giorno
-
docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
VenetoStato/giorgio#6 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Claiming namespace ddalusAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
EclipseFdn/open-vsx.org#13831 ·
I maintainer di solito rispondono entro 1 giorno