Crates.io | shakshuka |
lib.rs | shakshuka |
version | 0.2.0 |
source | src |
created_at | 2021-03-08 02:05:59.813884 |
updated_at | 2022-01-12 22:19:54.679172 |
description | Simple command line tool for calculating content hash. Supports .ignore (.contenthashignore) file |
homepage | https://github.com/raytung/shakshuka |
repository | https://github.com/raytung/shakshuka |
max_upload_size | |
id | 365456 |
size | 190,185 |
Shakshuka (shk
) is a CLI tool for calculating content hash with SHA-256.
.contenthashignore
file with .gitignore
syntaxThe binary name for shakshuka is shk
.
If you have the Rust toolchains installed, shakshuka can be installed with cargo
$ cargo install shakshuka
If you have Docker installed, shakshuka can be installed and run with docker
$ docker run --rm --volume "${PWD}:/opt/work/" --workdir "/opt/work/" raytung/shk
➜ simple-nodejs git:(main) exa -hlgSa .
Permissions Size Blocks User Group Date Modified Name
.rw-rw-r-- 32 8 raytung raytung 22 Feb 21:30 .contenthashignore
.rw-rw-r-- 14 8 raytung raytung 22 Feb 21:30 .gitignore
.rw-rw-r-- 69 8 raytung raytung 22 Feb 21:30 jest.config.js
.rw-rw-r-- 345 8 raytung raytung 22 Feb 21:30 package.json
drwxrwxr-x - - raytung raytung 22 Feb 21:30 src
.rw-rw-r-- 155k 304 raytung raytung 22 Feb 21:30 yarn.lock
➜ simple-nodejs git:(main) bat .contenthashignore
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: .contenthashignore
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ node_modules/
2 │ .contenthashignore
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
➜ simple-nodejs git:(main) shk
6a244f061a8f06a9d1c0518f16afb0252ae7b6c5e28b772e5fa6459b9c930554