@wvp/multitool
v0.1.0
Published
Workshop MultiTool - CLI for everything
Downloads
286
Readme
Workshop Venture Partners: Multitool
Workshop Tool for Everything
Description
Multitool is a collection of tools to help automate tasks and make development processes easier.
Usage
There are various tools, each with their own set of commands.
npm i -g @wvp/multitool
# OR DOWNLOAD LOCALLY AND run npm link in the short term
# View All Commands
multitool help
# Installed Alias
mt helpTools
For general usage instruction, use multitool help to see commands and options.
Docker
The docker tool helps manage starting and stopping assistant containers for local development. We have containers for mongodb, mysql, redis, rabbitmq, localstack and a grafana/metrics stack
List Containers
multitool docker lsStart a container
multitool docker start mongodbStop a container
multitool docker stop mongodbStart All Shared Containers
Shared containers just means the list of things shared between services
multitool docker start-all-shared
mt docker start-allStop All Shared Containers
multitool docker stop-all-shared
mt docker stop-allKubernetes (K8S)
The Kubernetes Tool (K8S) helps with commands for managing a cluster and accessing resources.
List Deployments
mt k8s ls
multitool k8s list-deploymentsShow Logs
Currently gets the latest 1000 log lines for a deployment
Health Check Logs are filtered by default via: grep -v /health
# Select from the list
mt k8s log
multitool k8s logs prd-my-service
# Show health check logs as well
multitool k8s logs prd-my-service --show-health