crossplane / crossplane/function-template-python
Leverage standard CLI options
- Langage dominant
- Python
- Étoiles
- 21
- Forks
- 13
- Merge moyen
- 3 h 1 min
- PR mergées (30 j)
- 1
Description
### What problem are you facing?
Functions derived from this template are copy-pasting the CLI arguments, which may eventually lead to inconsistencies.
### How could this Function help solve your problem?
`function-sdk-python` adds standard CLI options in [this PR](https://github.com/crossplane/function-sdk-python/pull/230). The idea is to leverage those once that is merged and a new version of the SDK is released with the reusable CLI helpers/decorators.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Inspect how this template currently defines CLI arguments, then read function-sdk-python PR 230 and the released SDK helpers or decorators. Update the template after that SDK version is available so generated functions use the standard options, and verify the copied arguments are no longer maintained separately.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- cli
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100