Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow hilbish.run to take a table of files to use for output #291

Merged
merged 14 commits into from
Apr 28, 2024

Conversation

TorchedSammy
Copy link
Member

@TorchedSammy TorchedSammy commented Apr 27, 2024

this makes it possible to pipe commands to any output via lua api

usage example:

local fs = require 'fs'

local output = io.open('output.txt', 'w')

hilbish.run('ls', {
	out = output,
	err = output
})

closes #174 since this pr also introduces the pipe function

  • I have documented changes and additions in the CHANGELOG.md.

@TorchedSammy TorchedSammy added this to the v2.3 (Alyssum) milestone Apr 27, 2024
@TorchedSammy TorchedSammy merged commit a20123f into master Apr 28, 2024
19 checks passed
@TorchedSammy TorchedSammy deleted the hshrun-file branch April 28, 2024 01:03
@TorchedSammy TorchedSammy restored the hshrun-file branch December 24, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: io.pipe function
1 participant