From 223539389095ffddfb7779f61ab8b21df1305b7e Mon Sep 17 00:00:00 2001 From: Pagwin Date: Thu, 22 Sep 2022 22:30:58 -0400 Subject: [PATCH] scripts and config.toml placed in repo for convenience --- config.toml | 5 +++++ scripts/cargo-quick | 2 ++ scripts/npm-quick | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 config.toml create mode 100755 scripts/cargo-quick create mode 100755 scripts/npm-quick diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..63e2732 --- /dev/null +++ b/config.toml @@ -0,0 +1,5 @@ +[subcommands.skeletons] + +[subcommands.scripts] +rs = "cargo-quick" +js = "npm-quick" diff --git a/scripts/cargo-quick b/scripts/cargo-quick new file mode 100755 index 0000000..7a4aa8e --- /dev/null +++ b/scripts/cargo-quick @@ -0,0 +1,2 @@ +#!/bin/sh +cargo new $@ diff --git a/scripts/npm-quick b/scripts/npm-quick new file mode 100755 index 0000000..7467f85 --- /dev/null +++ b/scripts/npm-quick @@ -0,0 +1,7 @@ +#!/bin/sh +mkdir $1; +cd $1 && +shift && +npm init -y $@ && +git init . && +cd ..