Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mk — DevSecOps CLI

Rust CI License Version

Fast Rust-powered CLI for git workflows, Docker, security scanning, and HTTP — all in one tool.

Installation

cargo install --path .

Git

mk git "my message"       # stage all, commit, push
mk git --ap               # commitizen interactive flow + stage + push
mk git --pull             # pull
mk git --pull --rebase    # pull with rebase
mk log                    # pretty commit history
mk log --graph -l 10      # graph view, last 10 commits
mk log --compact          # one line per commit

Docker

mk docker ps                                       # show all containers in a table
mk docker scan --image alpine:latest               # security scan with Trivy
mk docker push --image myapp --tag v1.0            # build and push to DockerHub

Requires DOCKERHUB_USER in .env.

Security Scanning

mk scan -p ./path/to/scan    # scan directory for vulnerabilities

Auth

mk auth jwt --token "your.jwt.token"      # validate JWT
mk auth github --token "ghp_yourtoken"   # verify GitHub token

JWT

mk jwt                          # generate a secure JWT secret, ready to paste into .env
mk decode --base64 <string>     # decode a base64 string

HTTP

mk http get https://example.com
mk http post https://api.example.com/resource --body '{"key":"value"}' --headers "Authorization: Bearer token"
mk http delete https://api.example.com/resource/1 --headers "Authorization: Bearer token"
mk http head https://api.example.com
mk http options https://api.example.com

About

Fast Rust-powered CLI for git workflows, Docker container management, security scanning, JWT generation, and HTTP requests — all in one tool.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages