Skip to content

paulvollmer/mks

Repository files navigation

mks

mks is a tool to create files and the intermediate directories.

Github Actions Software Release Software License


Installation

Install with brew

brew install paulvollmer/tap/mks

Install with go

go get -u github.com/paulvollmer/mks

Usage

The philosophy behind mks is simplicity. With the following command you can create a file foo.txt inside the path/to directory.

Usage:
  mks target/path/file.txt
  mks target/path/file.txt 'file body here'
  echo 'file body here' | mks target/path/file.txt

Flags
  -perm int    the file permission (default 0644)
  -version     print the version and exit


Please report issues at https://github.com/paulvollmer/mks/issues
Copyright 2019-2022, Paul Vollmer

Development

git clone git@github.com:paulvollmer/mks.git
cd mks
make
# is equivalent to
# make fmt
# make lint
# make test
# make build

License

MIT License

About

mks is a tool to create files and the intermediate directories

Resources

License

Stars

Watchers

Forks

Sponsor this project