scripts and config.toml placed in repo for convenience

This commit is contained in:
Pagwin 2022-09-22 22:30:58 -04:00
parent 002e5f3316
commit 2235393890
3 changed files with 14 additions and 0 deletions

5
config.toml Normal file
View file

@ -0,0 +1,5 @@
[subcommands.skeletons]
[subcommands.scripts]
rs = "cargo-quick"
js = "npm-quick"

2
scripts/cargo-quick Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
cargo new $@

7
scripts/npm-quick Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
mkdir $1;
cd $1 &&
shift &&
npm init -y $@ &&
git init . &&
cd ..