scriptura: a cozy corner for your scripts
Web page · https://alanpearce.eu/post/scriptura
First seen by Oriel on .
AI summary
scriptura is a fish-based tool for organizing, documenting, completing, and running scripts in a directory tree, extending sd’s concept with subcommands, custom commands, and shell-aware completions.
- Scripts are resolved beneath $SCRIPTURA_ROOT, with tab completion for every path component and filename completion after an automatically inserted -- separator.
- Built-in subcommands can run, create, edit, locate, or display scripts, while cmd executes ad-hoc shell commands from $SCRIPTURA_ROOT.
- Documentation can come from adjacent .help files, script comments, or folder-level help files, and appears in completions, listings, and the help subcommand.
- Scripts may use any language, although scriptura new currently creates a fish shebang; a future option is planned for selecting another interpreter.
- Scripts inside the special scriptura subdirectory become custom subcommands, forwarding flags and interpreting positional arguments as script path components.
#fish shell #shell scripts #developer tools #tab completion
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 20, latest observation ; +19 over observed period since
Comments
Comment count reported by the source.
- Lobsters: 7, latest observation ; +7 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | oeamed | https://alanpearce.eu/post/scriptura/ Read discussion |