Simple /etc/passwd and /etc/group parser with GoLang
350
go 1.11.* passwd_parser will be work with previous versions of GoLang. but it is only tested with GoLang 1.11.
go get command$ go get github.com/daehyeok/passwd_parser/
Downlaod lastes version from Github release page
$ docker run -it --rm -v /etc/passwd:/etc/passwd -v /etc/group:/etc/group daehyeok/passwd_parser
Usage of passwd_parser
-groups string
Path for groups file (default "/etc/group")
-help
Print this usage message
-logLevel string
logging level [panic|fatal|error|warn|info|debug|trace] (default "error")
-passwd string
Path for passwd file (default "/etc/passwd")
-pretty
Print linted JSON string
TravisCI for continue build and test.
CodeCov for check code coverage
Goreleaser for deploying binary to Github release page.
Dockerhub for automatically build to the container.
GoDoc for documentation.
Content type
Image
Digest
Size
133.7 MB
Last updated
almost 8 years ago
docker pull daehyeok/passwd_parser