Skip to content

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.

rest-sh#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