default values should be visible in help screen
- Linguagem predominante
- Python
- Estrelas
- 28.2k
- Forks
- 1.5k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
As per #114 the default value for an argument should be visible in the help screen.
Some considerations:
- If the default value is a simple type and not too long in length, we can just show it.
- If it doesn't serialize well (either because there's no good way to serialize it, or because its serialization is too long to show comfortably), then we need to determine a clean alternative to showing the default. Using the type may be one option for this alternative.
Guia de contribuição
Direção de pesquisa
Comece lendo a discussão em #114 e acompanhando como o Python Fire gera sua tela de ajuda da CLI e obtém os valores padrão dos argumentos. Defina o que conta como um valor padrão curto e serializável e o fallback para valores longos ou difíceis de serializar; o trabalho estará concluído quando a saída de ajuda apresentar um valor padrão apropriado para cada argumento.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 30/100