ofep icon indicating copy to clipboard operation
ofep copied to clipboard

[Proposal] Multipurpose CLI tool

Open dabeeeenster opened this issue 2 years ago • 10 comments

Category of Proposal

Other

Describe your proposal

The OpenFeature project could benefit from a multi-purpose, cross-platform CLI tool that can help with common flag-related engineering tasks, but in a general purpose way across different providers. Some common uses cases that would be valuable across providers might include:

  • Exporting and Importing flags between providers or to other datastores (flat file etc)
  • Searching code bases for flag references and generating reports/pushing that data somewhere
  • Finding stale flags
  • Helping with provider migrations in code (e.g. adding // todo: comments etc)
  • ...

Much in the same way that the SDK spec generalises SDK interfaces and provides provider-specific implementations with a pluggable approach, the CLI tool could follow the same pattern.

This tool could be used both by humans but also by CI/CD pipelines, IDEs and no doubt other actors.

Having a single cross-platform binary CLI with one or two key uses-cases and providers would be a great base to build from.

dabeeeenster avatar Oct 18 '23 14:10 dabeeeenster

Yeah, I think is an awesome idea :)

weyert avatar Oct 19 '23 21:10 weyert

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in next 60 days.

github-actions[bot] avatar Nov 19 '23 12:11 github-actions[bot]

We talked about this during the last GC meeting. There may be an opportunity to use an OpenFeature CLI for provider migrations and generating type-safe OpenFeature clients.

beeme1mr avatar Nov 20 '23 19:11 beeme1mr

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in next 60 days.

github-actions[bot] avatar Dec 22 '23 12:12 github-actions[bot]

I'm thrilled about the idea of using the OpenFeature CLI for provider migrations and generating type-safe OpenFeature clients. It's an exciting opportunity to enhance the project's capabilities.

I'm eager to contribute to this initiative and would love to know how I can get involved.

manumathon avatar Jan 01 '24 03:01 manumathon

Hi @kiratsingh98 - we havent started working on this in terms of writing any code. A very very simple POC demonstrating the plugin architecture would be great - but we need to agree on language/framework/tooling...

dabeeeenster avatar Jan 02 '24 12:01 dabeeeenster

Hey @kiratsingh98 @dabeeeenster , I started working on a prototype over the holidays. I plan to demo it to the GC at the next meeting to see if we would like to add it to the project officially. I think there's a ton of potential.

beeme1mr avatar Jan 02 '24 14:01 beeme1mr

Great! Could you please send me the details of the meeting? // @beeme1mr

manumathon avatar Jan 03 '24 16:01 manumathon

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in next 60 days.

github-actions[bot] avatar Feb 03 '24 12:02 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in next 60 days.

github-actions[bot] avatar Mar 07 '24 12:03 github-actions[bot]

It's still in early development but we've started working on a CLI here. @maanugh, I know it has been a while but we'd love your support if you're still interested. Thanks!

beeme1mr avatar Feb 28 '25 14:02 beeme1mr

Should we add this project to GSoC 2025? This way, it will also support my work. What do you think? @beeme1mr

manumathon avatar Mar 01 '25 08:03 manumathon