non important commit
This commit is contained in:
parent
38ee84016e
commit
df8fd18ac0
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,6 @@
|
|||
name?: string
|
||||
--local (-l)
|
||||
] {
|
||||
|
||||
if $name == null or $type == null {
|
||||
print "Usage: create-project <name> <type> [Options: -l]"
|
||||
exit 1
|
||||
|
|
@ -36,6 +35,8 @@
|
|||
mkdir $name
|
||||
cd $name
|
||||
|
||||
pwd
|
||||
|
||||
if ($"~/.nix-config/home/modules/create-project/project-blueprints/($type)" | path expand | ls $in | length) > 0 {
|
||||
glob $"~/.nix-config/home/modules/create-project/project-blueprints/($type)/*" | each { |file| cp $file . }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue