Skip to content

chen-bao-x/new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

new

一个快速创建文件和文件夹的程序

示例:

~/test> new f hello.txt
   file hello.txt 创建成功 at ./hello.txt
~/test> new d folder       
   folder folder 创建成功 at ./folder/
~//test> new f a.txt b.txt d.txt e/in_e.txt
   file a.txt 创建成功 at ./a.txt
   file b.txt 创建成功 at ./b.txt
   folder c 创建成功 at ./c/
   file d.txt 创建成功 at ./d.txt
   file in_e.txt 创建成功 at ./e/in_e.txt
~/test>

是否允许用户自定义命令? 比如 自定义脚本. like this: name String args String about String command String

name rust-proj args String about "创建 rust binary project" command "cargo new "

rust-proj $1

cargo new $1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages