command faker

Usage
add (replace) a command
f --add gitinit git init
f --add goinit go mod init
list commands
f
run a command
f gitinit
remove a command
f --remove gitinit
add sub command
f --add m.c calc
f m c
lock/unlock command
f --lock m.c
f --remove m.c #=> locked
f --add m.c notepad #=> locked
f --unlock m.c
make another faker
copy f another.exe
another --add gitinit echo hoge hoge
piping process
f --add clip cmd /c echo "|" clip
f clip abc
Args like "abc" above goes to the first command (echo).
config dir:
- exe path
- f.yaml
- Place the yaml in the same location as the executable.
- config directory
If none of 1,2 files exist, --add writes to 1.