v4.6.0: Kubernetes context and namespace, message warn missing requirement, pull request template
What's Changed
- feat/add kubernetes k8s support by @edouard-lopez in #323
- Pull request template
- Full Changelog: v4.5.0...v4.6.0
☸️ Kubernetes Context and Namespace
Configuration
Option | Default | Description |
---|---|---|
pure_symbol_k8s_prefix |
☸ |
Prefix when being connected to Kubernetes/K8s |
pure_enable_k8s |
false |
true : shows kubernetes context and namespace. |
Default Behaviour: false
❯ set --universal pure_enable_k8s false
~/projects/contributions/pure master ≡
Feature Enable: true
❯ set --universal pure_enable_k8s true
~/projects/contributions/pure master ≡ ☸ int-infra-eks-cluster-eu-west-3/qraft
💡 Warning Message When Command Required by Feature is Missing
For now, this mechanism is only on the k8s feature, but that's something I would like to add to other features.
pure-k8s-feature.webm
The detection behaviour is implemented in _pure_check_availability
function & tests and it's used like:
_pure_check_availability <feature_name> <cmd>
Where feature_name
is the feature that requires the command/function cmd
Pull request template
Link to resources and how-tos to give contributors autonomy. See .github/pull_request_template.md for full content.
Preview
⬇️ Installation
fisher install pure-fish/pure