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

refactor: improve code and args for CLI start #1812

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

Frando
Copy link
Member

@Frando Frando commented Nov 16, 2023

Description

Changes for #1802

CLI command changes:

  • iroh start takes --add not --source
  • iroh blob add takes required SOURCE arg and not optional --source opt

Internal changes:

  • reduce code duplication around starting a node
  • always start the metrics server (for both iroh start and iroh CMD --start)
  • make sure to remove the rpc lock file if aborting with error
  • cleanups

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • [ ] Tests if relevant.

@Frando Frando changed the base branch from main to feat-cli-start November 16, 2023 10:48
Copy link
Contributor

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice

@Frando Frando merged commit f925af0 into feat-cli-start Nov 16, 2023
14 of 15 checks passed
@dignifiedquire dignifiedquire deleted the feat-cli-start-improve-start branch November 16, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants