crossplane / crossplane/function-sdk-python
Standard/reusable CLI flags
- 主要語言
- Python
- 星號
- 12
- 分支
- 15
- 平均合併
- 2 天 5 小時
- 30 天內合併 PR
- 3
描述
### What problem are you facing?
Each function author today copies CLI boilerplate (mainly flags, environment variables, and defaults) from the function templates (Go, Python, TS). This leads to eventual inconsistency across functions (env var names drift, each author may decide, e.g. GRPC_MESSAGE_SIZE vs MAX_RECV_MESSAGE_SIZE), some functions miss env tags entirely (e.g. DEBUG), etc.
On top of that, there's no single source of truth and when new standard option is added or a default changes, every function must be updated independently. There is no mechanism to propagate changes.
Standardization of CLI arguments/env variables might become useful for 3rd party tooling (e.g. crossplane-diff) which may need to flag all functions in the composition pipeline at the same time (e.g. programatically raise the max GRPC size in all functions).
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by comparing the CLI boilerplate in the Go, Python, and TypeScript function templates, including flags, environment variables, and defaults. The work is done when the project has an agreed single source of truth and a clear mechanism for propagating standardized options and default changes to functions.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- go, python, typescript
- 領域
- cli, tooling
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 活躍
- 描述清晰度
- 需要釐清
- 新手友好度
- 30/100