- schema.Schema
- schema.Relation
- func (r Relation) MarshalJSON() ([]byte, error)
- func (s *Schema) Repair() error
- func (t *Table) FindColumnByName(name string) (*Column, error)
- データ基盤のメタデータを継続的に管理できる仕組みを作る(ペパボ編)
- func parseConfigPath(args []string) (string, []string)
- TBLS_SCHEMAをサブコマンドへの受け渡し
- spf13/cobraのShell Completionの利用方法
- spf13/cobra v1.0.0のZshの補完スクリプトのテンプレート
- 隠しコマンド
__complete
を利用している様子 compCmd := ShellCompRequestCmd (default: __complete) > compCmdを%[2]に設定 > %[2]を補完スクリプトで利用 - 従来のspf13/cobraのShell Completionの実装時にtbls側で外部サブコマンドの補完を実現していた様子 [1], [2]
- 新しいspf13/cobraのShell Completionの実装に沿ってtbls側で外部サブコマンドの補完までを実現している様子
-
-
Save k1LoW/d12af3df4a0421bbf43f5df50d3acc94 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment