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
|
name?: string
|
||||||
--local (-l)
|
--local (-l)
|
||||||
] {
|
] {
|
||||||
|
|
||||||
if $name == null or $type == null {
|
if $name == null or $type == null {
|
||||||
print "Usage: create-project <name> <type> [Options: -l]"
|
print "Usage: create-project <name> <type> [Options: -l]"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -36,6 +35,8 @@
|
||||||
mkdir $name
|
mkdir $name
|
||||||
cd $name
|
cd $name
|
||||||
|
|
||||||
|
pwd
|
||||||
|
|
||||||
if ($"~/.nix-config/home/modules/create-project/project-blueprints/($type)" | path expand | ls $in | length) > 0 {
|
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 . }
|
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