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

Non-interactive mode #252

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

loicalleyne
Copy link

#238

Changes:
New embedded package (couldn't think of a better name)

  • Pass in []string which replaces the os.Args[]
  • Pass in io.Writers to optionally redirect Stdout and Stderr
  • Pass in optional authentication token override.

danielgtaylor#238

Pass in []string which replaces the os.Args[], io.Writers to optionally redirect Stdout and Stderr, and optionally pass in an authentication token override.
to allow separate config for embedded and native restish on same system
reverted cli.go to original, no need for separate Run() for embedded since cli package exports Root, Stdout and Stderr.
@loicalleyne loicalleyne marked this pull request as ready for review April 24, 2024 20:15
@danielgtaylor danielgtaylor added the enhancement New feature or request label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants