Skip to content

Conversation

@pixel365
Copy link
Contributor

  • Added graceful shutdown in main using signal.NotifyContext for proper termination.
  • Passed context to the root command through ExecuteContext.
  • Moved subcommand registration into the public root command, replacing init-based setup for improved readability and maintainability.

- Added graceful shutdown in main using signal.NotifyContext for proper termination.
- Passed context to the root command through ExecuteContext.
- Moved subcommand registration into the public root command, replacing init-based setup for improved readability and maintainability.

Signed-off-by: Ruslan Semagin <pixel.365.24@gmail.com>
@szverev szverev requested a review from feelthatvib3 March 13, 2025 09:50
@feelthatvib3
Copy link
Contributor

Hello @pixel365,

Thank you for your contribution. We appreciate your efforts. I have approved and merged this PR.

If you are interested in further developing the Trood CLI, we can discuss it on our Discord server or here, opening a GitHub Discussion.

@feelthatvib3 feelthatvib3 merged commit 061956a into TroodInc:main Mar 13, 2025
1 check failed
@pixel365 pixel365 deleted the refactor branch March 13, 2025 10:41
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.

3 participants