dthree / dthree/cash

less and grep can't use the preparser

Open
#96 2 comments 0 reactions 0 assignees View on GitHub
vorpal
Dominant language
JavaScript
Stars
7.7k
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Currently, `less` and `grep` can't take advantage of the preparser (since they're in separate modules). Here's some possible solutions:
1. move `vorpal-less` and `vorpal-grep` into cash
2. move the preparser to a separate module, and allow `vorpal-less` and `vorpal-grep` to require it
3. since glob expansion works for these commands, we could consider moving the preparser code to be right before or right after that.

This should be resolved if `cash` switches over to vorpaljs/bash-parser (since I believe that will handle all the expansion).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.