https://github.com/lexndru/lsx
Basic layout/script executable
https://github.com/lexndru/lsx
Last synced: about 2 months ago
JSON representation
Basic layout/script executable
- Host: GitHub
- URL: https://github.com/lexndru/lsx
- Owner: lexndru
- License: mit
- Created: 2024-03-08T21:00:09.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-09T13:56:21.000Z (about 1 year ago)
- Last Synced: 2025-02-13T08:17:43.956Z (4 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository contains a layout/script executable.
#
Usage:
```
$ lsx file.ls resource1 resource2 [...]
```Or with shebang
```
$ head file.ls
#!/usr/bin/env lsx
layout vivid 1.0
...$ ./file.ls resource1 resource2 [...]
```Prompts can be exported either inline or through a file that can be sourced:
```
$ cat prompts
export LSX_PROMPT_DEBUG=debug.sh$ source prompts
$ lsx ...
```The repository aggregates all outputs from all given resources.