All-In-One Development CLI Tools Multi-platform Marketplace
Project description
Mercado
All-In-One Development CLI Tools Multi-platform Marketplace
Stop memorizing whether that's apt install
or brew
or any other package manager that takes too long whenever only to get an outdated tool - and use mercado
instead!
All the most used tools by developers like docker
, terraform
, and kubectl
.
- Supports different types of installations
- GitHub releases
- Hashicorp products
- URL fetching
- Customized shell scripts
- Multi-platform multi-architectures installations
- Install the latest artifact or a specific version
- HTTP calls with retry mechanismand timeouts
- Archive unpacking
- Elaborated logs with timestamps of every step in the process
- CI first
- Every artifact is verified on a daily basis
- README is dynamically generated so docs can't get broken
Supported Tools
$ mercado list --names-only --all
Mercado tools
┏━━━━━━━━━━━━┓
┃ Name ┃
┡━━━━━━━━━━━━┩
│ aws │
│ compose │
│ consul │
│ cosign │
│ docker │
│ gh │
│ helm │
│ k3d │
│ k8sgpt │
│ k9s │
│ kind │
│ kubectl │
│ minikube │
│ packer │
│ terraform │
│ terragrunt │
│ tfsec │
│ trivy │
│ vagrant │
│ vault │
│ waypoint │
└────────────┘
Install
python3 -m pip install mercado
How to use
$ mercado list --verbose
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 │
└────────────┴───────────┴───────────┴─────────┴─────────────────────────────────────────────────────┘
$ mercado install gh
[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
[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
$ mercado is-latest docker
👍 You have the latest version of 'docker' (25.0.3)
$ mercado show minikube
Name: minikube
Status: ❌
Remote Version:
$ mercado list --label k8s --with-labels --all
Mercado tools
┏━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Name ┃ Installed ┃ Labels ┃
┡━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ helm │ ✅ │ k8s │
│ k3d │ ✅ │ k8s,docker,orchestration │
│ k8sgpt │ ✅ │ k8s │
│ k9s │ ✅ │ k8s │
│ kind │ ✅ │ k8s,docker,orchestration │
│ kubectl │ ✅ │ k8s │
│ minikube │ ❌ │ k8s,orchestration │
└──────────┴───────────┴──────────────────────────┘
Contributing
Please see the CONTRIBUTING guide.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mercado-0.2.1.tar.gz
(14.5 kB
view details)
Built Distribution
mercado-0.2.1-py3-none-any.whl
(16.0 kB
view details)
File details
Details for the file mercado-0.2.1.tar.gz
.
File metadata
- Download URL: mercado-0.2.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.8 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47e9228146cae2758507889f8d7900f2a41ce5e4d29163c38a1b7d414616e357 |
|
MD5 | 9e9ab4b7e372f13252c630552b04bac6 |
|
BLAKE2b-256 | 49e6ce1f8e6c4eb3d90b1a097e64739cb642d85fa932fd551bcb4c927ca29563 |
File details
Details for the file mercado-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: mercado-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.8 Linux/6.2.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c697cccb56ad6ebcd95b6de2fc978a7579cff24fd441ea2a1b527b02ebb31b52 |
|
MD5 | f85733b64f6a47772e46c85626aa0c27 |
|
BLAKE2b-256 | 9dab23a2189dae5ae7c9a279b3c08528f783410cb14dc51908ade85d6aeb4bd9 |