Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnkmmr69420/wexec
Execute files off the web
https://github.com/dnkmmr69420/wexec
cli cli-utility
Last synced: 6 days ago
JSON representation
Execute files off the web
- Host: GitHub
- URL: https://github.com/dnkmmr69420/wexec
- Owner: dnkmmr69420
- Created: 2024-02-19T20:54:01.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-21T17:52:44.000Z (9 months ago)
- Last Synced: 2024-04-18T17:06:20.673Z (7 months ago)
- Topics: cli, cli-utility
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wexec
`wexec` is a tool that executes files directly from the web. Instead of piping curl to bash you just use `wexec url arg1 arg2`
## Usage
wexec [arguments...]
## Test this yourself
Make sure wexec is in PATH
run script
```shell
wexec https://raw.githubusercontent.com/dnkmmr69420/wexec/main/test.sh
```try with one argument
```shell
wexec https://raw.githubusercontent.com/dnkmmr69420/wexec/main/test.sh arg1
```Try with multiple arguments
```shell
wexec https://raw.githubusercontent.com/dnkmmr69420/wexec/main/test.sh arg1 arg2 arg3 arg4 arg5
```Works with flags
```shell
wexec https://raw.githubusercontent.com/dnkmmr69420/wexec/main/test.sh arg1 arg2 arg3 arg4 arg5 -sdw --flag-string
```Exit code 1 test
```shell
wexec https://raw.githubusercontent.com/dnkmmr69420/wexec/main/exit-code-1.sh
```