v1.0.0
===================================================================== Finally decided to port personal scripts into a standalone library. --- Release Notes ------------------------ - added support for python, zsh, and zx scripts - added support for "interactive" scripts which drop the user to a REPL - added support for passing arguments to commands - added support for python/node virtualenv management through scwrypts - added contributing and usage docs - updated zsh plugin to write commands to history - licensed under GPLv3 --- New Scripts -------------------------- zsh/scwrypts ) - configure - environment/copy - environment/delete - environment/edit - environment/synchronize - logs/clear - logs/view zsh ) - aws/ecr/login - aws/efs/mount - aws/efs/unmount - aws/route53/backup - aws/s3/media-sync/pull - aws/s3/media-sync/push python ) - redis/interactive
This commit is contained in:
2
zx/.gitignore
vendored
Normal file
2
zx/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
node_modules/
|
||||
.env/
|
4
zx/README.md
Normal file
4
zx/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
# JavaScwrypts
|
||||
|
||||
[](https://github.com/google/zx.git)
|
||||
<br>
|
5
zx/hello-world.mjs
Executable file
5
zx/hello-world.mjs
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zx
|
||||
|
||||
const hello = ` _ _ _____ _ _ ___ __ _____ ____ _ ____ \n| | | | ____| | | | / _ \\ \\ \\ / / _ \\| _ \\| | | _ \\ \n| |_| | _| | | | | | | | | \\ \\ /\\ / / | | | |_) | | | | | |\n| _ | |___| |___| |__| |_| | \\ V V /| |_| | _ <| |___| |_| |\n|_| |_|_____|_____|_____\\___/ \\_/\\_/ \\___/|_| \\_\\_____|____/ \n `
|
||||
|
||||
console.log(chalk.green.bgBlack.bold(hello))
|
14
zx/package-lock.json
generated
Normal file
14
zx/package-lock.json
generated
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "scwrypts",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "scwrypts",
|
||||
"version": "1.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "GPL-3.0-or-later"
|
||||
}
|
||||
}
|
||||
}
|
12
zx/package.json
Normal file
12
zx/package.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "scwrypts",
|
||||
"version": "1.0.0",
|
||||
"description": "zx scripts for scwrypts",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "",
|
||||
"preinstall": "npm i -g zx"
|
||||
},
|
||||
"author": "yage",
|
||||
"license": "GPL-3.0-or-later"
|
||||
}
|
Reference in New Issue
Block a user