Create Files
cpbooster
provides the create
command or its alias c
, to create
one or several source files with your template preloaded in each
of them.
or to create multiple files (using alias c
to shorten the length of the command)
#
Demo#
Usage Examplescpb create a.py
creates single file with the corresponding template loaded based on file extensioncpb create {a..n}.cpp
creates multiple consecutive files from "a.cpp" to "n.cpp"cpb create {a...n}.cpp
same as previous command (Any amount of dots greater than 1 work)cpb create {a-n}.cpp
same as previous command (Single dash also works)cpb create /some/path/a.cpp
creates "a.cpp" in the specified path instead of current locationcpb create /some/path/{a-n}.cpp
creates "a.cpp ... n.cpp" in the specified path instead of current location