Registry / cli / path-expander

path-expander

JSON →
library2.0.1rbrubygemsunverified

PathExpander helps pre-process command-line arguments by expanding directories into their constituent files and supporting path subtraction.

gem install path_expander
INSTALL
IMPORT
SIG · PATH-EXPANDER
P
path-expander
clirubyv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PathExpander
require 'path_expander'

Expand directory arguments into file lists

require 'path_expander' paths = PathExpander.expand(['src/', '--exclude', 'test/']) # Returns expanded file list excluding test files
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
path-expander — gem install path-expander · libregistry