Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
YuviGold committed Feb 22, 2024
1 parent 7be1620 commit 2c614d2
Showing 1 changed file with 48 additions and 43 deletions.
91 changes: 48 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Mercado tools
│ gh │
│ helm │
│ k3d │
│ k8sgpt │
│ k9s │
│ kind │
│ kubectl │
│ minikube │
Expand Down Expand Up @@ -108,76 +110,78 @@ print_command("mercado list --label k8s --with-labels --all")
```bash
$ mercado list --verbose

Mercado tools
┏━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Name ┃ Vendor ┃ Installed
┡━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ compose │ GitHub │ ✅ (/home/yuvalg/.docker/cli-plugins/docker-compose 2.17.3)
│ gh │ GitHub │ ✅ (/home/yuvalg/.mercado/gh 2.28.0)
kind │ GitHub │ ✅ (/home/yuvalg/.mercado/kind 0.18.0)
minikube │ GitHub │ ✅ (/home/yuvalg/.mercado/minikube 1.30.1)
terragrunt │ GitHub │ ⏫ (/home/yuvalg/.mercado/terragrunt 0.42.5)
trivy │ GitHub │ ⏫ (/home/yuvalg/.mercado/trivy 0.32.1)
├────────────┼────────────┼─────────────────────────────────────────────────────────────┤
│ consul │ Hashicorp │ ⏫ (/home/yuvalg/.mercado/consul 1.13.1) │
│ terraform │ Hashicorp │ ✅ (/home/yuvalg/.mercado/terraform 1.4.6)
│ vagrant │ Hashicorp │ ⏫ (/home/yuvalg/.mercado/vagrant 2.3.2)
│ vault │ Hashicorp │ ✅ (/home/yuvalg/.mercado/vault 1.13.2)
├────────────┼───────────┼─────────────────────────────────────────────────────────────┤
│ kubectl │ URLFetcher │ ⏫ (/usr/local/bin/kubectl 1.18.3)
├────────────┼───────────┼─────────────────────────────────────────────────────────────┤
│ aws │ Shell │ ✅ (/home/yuvalg/.mercado/aws 2.11.16)
│ docker │ Shell │ ⏫ (/usr/bin/docker 20.10.12)
│ helm │ Shell │ ⏫ (/home/yuvalg/.mercado/helm 3.11.0)
└────────────┴───────────┴─────────────────────────────────────────────────────────────┘
Mercado tools
┏━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Name ┃ Installed ┃ Is Latest ┃ Version ┃ Path
┡━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ compose │ │ 🔼 │ 2.20.3 │ /Users/yuvalgold/.docker/cli-plugins/docker-compose │
│ gh │ │ ✅ │ 2.44.1 │ /Users/yuvalgold/.mercado/gh │
k3d │ ✅ │ ✅ │ 5.6.0 │ /Users/yuvalgold/.mercado/k3d
k8sgpt │ ✅ │ ✅ │ 0.3.27 │ /Users/yuvalgold/.mercado/k8sgpt
k9s │ ✅ │ 🔼 │ 0.31.8 │ /Users/yuvalgold/.mercado/k9s
kind │ ✅ │ 🔼 │ 0.21.0 │ /Users/yuvalgold/.mercado/kind
│ terragrunt │ ✅ │ 🔼 │ 0.50.3 │ /Users/yuvalgold/.mercado/terragrunt │
├────────────┼───────────┼───────────┼─────────┼─────────────────────────────────────────────────────┤
│ terraform │ ✅ │ 🔼 │ 1.7.3 │ /Users/yuvalgold/.mercado/terraform │
│ vagrant │ ✅ │ 🔼 │ 2.3.7 │ /Users/yuvalgold/.mercado/vagrant │
│ vault │ ✅ │ 🔼 │ 1.14.1 │ /Users/yuvalgold/.mercado/vault │
├────────────┼───────────┼───────────┼─────────┼─────────────────────────────────────────────────────┤
│ kubectl │ ✅ │ 🔼 │ 1.28.2 │ /Users/yuvalgold/.mercado/kubectl
├────────────┼───────────┼───────────┼─────────┼─────────────────────────────────────────────────────┤
│ aws │ │ 🔼 │ 2.15.19 │ /Users/yuvalgold/.mercado/aws │
│ docker │ │ ✅ │ 25.0.3 │ /Users/yuvalgold/.mercado/docker
│ helm │ │ 🔼 │ 3.14.0 │ /Users/yuvalgold/.mercado/helm │
└────────────┴───────────┴───────────┴─────────┴─────────────────────────────────────────────────────┘
```


```bash
$ mercado install gh

[05/01/23 19:19:10] Looking for the latest version of 'gh'
Getting installer for tool 'gh' with version v2.28.0 for linux and x86_64
[05/01/23 19:19:11] Installing 'gh'...
[05/01/23 19:19:12] Downloading 'gh' to /tmp/gh_2.28.0_linux_amd64.tar.gz (size: 10.1 MB)
[02/22/24 18:07:35] Looking for the latest version of 'gh'
[02/22/24 18:07:36] Getting installer for tool 'gh' with version v2.44.1 for darwin and arm64
Installing 'gh'...
[02/22/24 18:07:37] Downloading 'gh' to /var/folders/v5/mbdkcsy10c7b_g08jp498ww00000gn/T/gh_2.44.1_macOS_arm64.zip (size: 10.9 MB)
Downloading... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
[05/01/23 19:19:13] Unpacking /tmp/gh_2.28.0_linux_amd64.tar.gz to /tmp/gh_2.28.0_linux_amd64.tar
[05/01/23 19:19:14] Copying /tmp/gh_2.28.0_linux_amd64.tar/gh_2.28.0_linux_amd64/bin/gh to /home/yuvalg/.mercado/gh
👍 'gh' version v2.28.0 is installed
[02/22/24 18:07:40] Unpacking /var/folders/v5/mbdkcsy10c7b_g08jp498ww00000gn/T/gh_2.44.1_macOS_arm64.zip to
/var/folders/v5/mbdkcsy10c7b_g08jp498ww00000gn/T/gh_2.44.1_macOS_arm64
Copying /var/folders/v5/mbdkcsy10c7b_g08jp498ww00000gn/T/gh_2.44.1_macOS_arm64/gh_2.44.1_macOS_arm64/bin/gh to
/Users/yuvalgold/.mercado/gh
👍 'gh' version v2.44.1 is installed
```


```bash
$ mercado is-latest docker

👎 'docker' version 'v23.0.5' is available! (current: 20.10.12)
👍 You have the latest version of 'docker' (25.0.3)
```


```bash
$ mercado show minikube

Name: minikube
Status: ✅
Local Version: 1.30.1
Path: /home/yuvalg/.mercado/minikube
Remote Version: v1.30.1
Status: ❌
Remote Version:
```


```bash
$ mercado list --label k8s --with-labels --all

Mercado tools
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Name ┃ Labels ┃ Installed ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ helm │ k8s │ ⏫ │
│ k3d │ k8s,docker,orchestration │ ❌ │
│ kind │ k8s,docker,orchestration │ ✅ │
│ kubectl │ k8s │ ⏫ │
│ minikube │ k8s,orchestration │ ✅ │
└──────────┴──────────────────────────┴───────────┘
┏━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Name ┃ Installed ┃ Labels ┃
┡━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ helm │ ✅ │ k8s │
│ k3d │ ✅ │ k8s,docker,orchestration │
│ k8sgpt │ ✅ │ k8s │
│ k9s │ ✅ │ k8s │
│ kind │ ✅ │ k8s,docker,orchestration │
│ kubectl │ ✅ │ k8s │
│ minikube │ ❌ │ k8s,orchestration │
└──────────┴───────────┴──────────────────────────┘
```

<!-- [[[end]]] -->
Expand Down Expand Up @@ -221,6 +225,7 @@ artifact
deploy deploy Python package to PyPI

general
deps install dependencies
clean clean environment

```
Expand Down

0 comments on commit 2c614d2

Please sign in to comment.