feat : Implement a new separated CLI app [#327]#356
Merged
Conversation
Contributor
Author
|
@daeyoung-jeong-lge please check this pr , Thanks |
Contributor
|
@youngtaekiim 이 PR은 우리가 예전에 개발회의 때 논의했었던, 어디에서든 동작할 수 있는 CLI app입니다. SettingsService의 REST API를 통해 데이터를 수신해서 CLI 위에 뿌려줍니다. 저는 review를 완료했고, 영태 책임님께서 보시기에도 문제 없다면 merge 부탁드립니다. |
youngtaekiim
approved these changes
Oct 24, 2025
eunhyeYu
pushed a commit
to eunhyeYu/pullpiri
that referenced
this pull request
Mar 11, 2026
feat : Implement a new separated CLI app [eclipse-pullpiri#327]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #327
Features
Usage
Basic Syntax
Global Options
-u, --url <URL>: SettingsService URL (default: http://localhost:8080)-t, --timeout <SECONDS>: Request timeout in seconds (default: 30)-v, --verbose: Enable verbose output-h, --help: Print help information-V, --version: Print version informationCommands
Health Check
Test connection to SettingsService:
Note: Presently health is not supported in settingservice .
Metrics
Get system metrics:
Board Operations
Node Operations
SoC Operations
Container Operations
YAML Artifact Management
Error Handling
The CLI provides clear error messages for common issues:
Common Error Scenarios
Development
Project Structure
Adding New Commands
src/commands/main.rsAPI Endpoints
The CLI interacts with the following SettingsService REST API endpoints:
Resource Management APIs
metrics get/api/v1/metricsmetrics raw/api/v1/metricsboard list/api/v1/boardsboard get <id>/api/v1/boards/{id}board raw/api/v1/boardsnode list/api/v1/nodesnode get <name>/api/v1/nodes/{name}node raw/api/v1/nodessoc list/api/v1/socssoc get <id>/api/v1/socs/{id}soc raw/api/v1/socscontainer list/api/v1/containerscontainer get <id>/api/v1/containers/{id}container raw/api/v1/containersYAML Artifact APIs
yaml apply <file>/api/v1/yamlyaml withdraw <file>/api/v1/yamlSystem APIs
health/api/v1/system/healthComplete Command Reference
Global Commands
Metrics Commands
Board Commands
Node Commands
SoC Commands
Container Commands
YAML Artifact Commands
Service Architecture
Screen shots