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

feat: add custom flag parser for extensions #4269

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Conversation

Pantani
Copy link
Collaborator

@Pantani Pantani commented Jul 19, 2024

close ignite/apps#116

Description

This PR creates a simple flag parser, so we don't need to depend on another library to parse a few objects. It also solves the issue of missing default values in the flags.

@Pantani Pantani self-assigned this Jul 19, 2024
@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs component:cmd type:services Service-related issues. labels Jul 19, 2024
@Pantani Pantani requested review from salmad3 and toschdev as code owners July 19, 2024 02:10
@Pantani Pantani added the backport/v28.x.y Backport to v28.x.y label Jul 19, 2024
Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

ACK!

@julienrbrt julienrbrt merged commit 8ff971f into main Jul 19, 2024
45 checks passed
@julienrbrt julienrbrt deleted the feat/parse-app-flags branch July 19, 2024 13:56
mergify bot pushed a commit that referenced this pull request Jul 19, 2024
* add custom flag parser

* add changelog

(cherry picked from commit 8ff971f)

# Conflicts:
#	ignite/cmd/plugin_test.go
Pantani added a commit that referenced this pull request Jul 25, 2024
* feat: add custom flag parser for extensions (#4269)

* add custom flag parser

* add changelog

(cherry picked from commit 8ff971f)

# Conflicts:
#	ignite/cmd/plugin_test.go

* resolve conflicts

* fix changelog

---------

Co-authored-by: Danilo Pantani <danpantani@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v28.x.y Backport to v28.x.y component:ci CI/CD workflow and automated jobs. component:cmd component:configs type:services Service-related issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FIX: Default Values Not Working for App Flags
2 participants