Commit Graph

95 Commits

Author SHA1 Message Date
renovate[bot] 2003666eaa
chore(deps): update dependency openfeature to 2.7.0 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-03 17:09:14 +00:00
renovate[bot] cf962d967c
fix(deps): update module dagger.io/dagger to v0.18.12 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-27 19:12:21 +00:00
renovate[bot] 2835e3cf10
fix(deps): update module dagger.io/dagger to v0.18.11 (#142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-25 16:56:43 +00:00
Brianna Bland 288023c5dd
feat: basic object flags (#141)
Signed-off-by: bblandSigned-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
2025-06-22 10:34:35 -04:00
Aditya Kumar b867485101
feat: integration tests for nodejs generator (#140)
* feat: add renovate.json file #122

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* chore: remove packageRules from renovate.json

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* feat(nodejs-integration): add Node.js integration test and related files

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* feat: integration tests for nodejs generator (#117)

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* fix: fix whitespace issue in Makefile

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* fix: fix whitespace issue in Makefile

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* fix: fix whitespaces in Makefile

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

---------

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>
2025-06-13 18:39:52 +00:00
Gayatri Chakkithara 6145c2e15d
test: add Go integration test (#125)
* go integration test

Signed-off-by: redpinecube <tara.chakkithara@icloud.com>

* fixed go integration test

Signed-off-by: redpinecube <tara.chakkithara@icloud.com>

* Update test/go-integration/test.go

Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>

* Update test/go-integration/test.go

Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>

* Update test/go-integration/test.go

Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>

* cleanup the test

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>

---------

Signed-off-by: redpinecube <tara.chakkithara@icloud.com>
Signed-off-by: Gayatri Chakkithara <113033661+redpinecube@users.noreply.github.com>
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Co-authored-by: Roman Dmytrenko <rdmytrenko@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-06-12 16:00:46 +00:00
Michael Beemer 32f912a089
chore: add merge group trigger to pr lint
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-06-11 16:09:06 -04:00
Michael Beemer 594cf538be
chore: revert golang ci lint to v6
Reverts 4f909c1068

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-06-11 16:08:18 -04:00
renovate[bot] 5d7a60754a
chore(deps): update dependency microsoft.extensions.dependencyinjection to 9.0.6 (#138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-10 22:36:59 +00:00
renovate[bot] 8b70612472
fix(deps): update module dagger.io/dagger to v0.18.10 (#136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-10 16:50:33 +00:00
renovate[bot] 51232fea1c
chore(deps): update dependency microsoft.extensions.dependencyinjection to v9 (#133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 14:01:49 +00:00
renovate[bot] 4f909c1068
chore(deps): update golangci/golangci-lint-action action to v8 (#134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-08 02:46:27 +00:00
renovate[bot] 1b4d062045
chore(deps): update dagger/dagger-for-github action to v7 (#132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 21:48:46 +00:00
renovate[bot] 35533dceb0
chore(deps): update dependency openfeature to 2.6.0 (#131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 21:48:40 +00:00
renovate[bot] a25f90a65b
fix(deps): update module github.com/pterm/pterm to v0.12.81 (#129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 18:57:32 +00:00
renovate[bot] 11b9c34d86
chore(deps): update alpine docker tag to v3.22 (#130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 18:57:17 +00:00
renovate[bot] 3ec8443823
chore(deps): update dependency microsoft.extensions.dependencyinjection to 8.0.1 (#127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 16:06:18 +00:00
Aditya Kumar 83dac705b9
chore: add renovate.json file #122 (#124)
* feat: add renovate.json file #122

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

* chore: remove packageRules from renovate.json

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>

---------

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>
2025-06-07 16:04:05 +00:00
Sahid Velji bcd11ea9c8
chore: fix the directory structure (#121)
* chore: fix the directory structure

Signed-off-by: Sahid Velji <sahidvelji@gmail.com>

* chore: upgrade dependencies (#123)

Signed-off-by: Sahid Velji <sahidvelji@gmail.com>

---------

Signed-off-by: Sahid Velji <sahidvelji@gmail.com>
2025-05-31 18:13:14 +00:00
Sahid Velji 79d3dceb3a
chore: upgrade dependencies (#123)
Signed-off-by: Sahid Velji <sahid.velji@capitalone.com>
Co-authored-by: Sahid Velji <sahid.velji@capitalone.com>
2025-05-31 12:09:41 +00:00
Aditya Kumar 8eec77965a
feat(flagset): improve validation error formatting in Load function (#119)
feat(flagset): improve validation error formatting in Load function #110

Signed-off-by: Adityasinghvats <131326798+Adityasinghvats@users.noreply.github.com>
2025-05-30 16:24:09 +00:00
OpenFeature Bot eedccd606f
chore(main): release 0.3.5 (#112)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-05-20 19:28:52 +00:00
Simon Schrottner 49e65c8283
fix: Naming of generated java class (#111)
Java expects to have a class with the same name as the file within the file. This constraint was violated, and renaming the class ort the file was needed
2025-05-20 15:19:37 -04:00
OpenFeature Bot c1466b48e2
chore(main): release 0.3.4 (#108)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-05-14 19:35:51 +00:00
Kris Coleman 063cfca2d7
feat: adds compare command (#93)
* feat: add compare command to cli

A new 'compare' command has been added to the CLI. This command allows users to compare two manifest files and list the changes between them. The comparison is done by loading each manifest file, then using a new function from the 'manifest' package to identify differences. Error handling has also been implemented for scenarios where loading or comparing manifests fails. Tests were also included to test the compare function.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat: adds tree behavior to compare cmd

Compare now supports flat, tree, and color output modes.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore: refactors compare command flag handling

Refactors the compare command to use the global manifest
flag and introduces an 'against' flag for specifying the
target manifest for comparison.

This change simplifies command usage and aligns it with
other commands that utilize the global manifest configuration.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat: Adds output formats to compare

Adds the ability to render the differences between manifests in JSON format,
providing a structured output suitable for consumption by other tools or
systems. Also, introduces validation for the output format flag.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat: adds yaml output format

Adds the ability to output manifest comparison results in YAML format.

This provides users with another option for viewing and processing
the differences between manifests, which can be useful for
configuration management and automation tasks.

The changes include:
- Implementation of a new render function for YAML output.
- Modification of the output format selection logic to include YAML.
- Addition of YAML as a valid output format option in the command
  line interface and documentation.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

---------

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
2025-05-14 19:27:46 +00:00
Advitiya Jain 9a9f11fc6c
feat: add java generator (#107)
* Add Java generator

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

* Add Readme file for java

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

* Fix command description to show same value as openfeature_generate_java.md

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

* Change package name to com.example.openfeature

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

* Fix variable type and imports according to Openfeature java-SDK

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

* Refactor: expose only interface via factory method and hide client implementation

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

* Update generated docs after java generator extension

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>

---------

Signed-off-by: advitiya0201 <f20210979@pilani.bits-pilani.ac.in>
2025-05-12 20:29:06 +00:00
Kris Coleman 96f4cde0f8
feat: introduce dagger for integration testing and ci (#100)
* feat: introduce dagger for integration testing and ci

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat: make integration testing extensible and modular

my intention here is to make the pattern for integration testing more accessible.
let's abstract the integration test pattern itself into a framework to harness the boiler plate.
then reuse our csharp integration test code as our first integration-test.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

---------

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
2025-05-06 18:08:32 +00:00
OpenFeature Bot 230956e6b4
chore(main): release 0.3.3 (#98)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-04-18 14:31:00 +00:00
Lukas Reining 5210429e39
feat: add codegen for NestJS (#99)
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-04-18 14:28:35 +00:00
Kris Coleman e32547f734
chore: automate project standards before push (#94)
feat: integrates pre-commit and pre-push hooks to automate standards

Adds Lefthook configuration to automate Git hooks, ensuring consistent pre-commit & pre-push checks.

Lefthook automates pre-commit checks such as code formatting and pre-push checks to ensure documentation and tests are up-to-date.

This helps maintain code quality and consistency across the team. I find this saves me time as I switch projects and standards, so I don't push and wait for a PR check to fail.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
2025-04-14 17:58:40 +00:00
Kris Coleman ae645813c4
feat(csharp): added generator and integration tests (#97)
* feat: adds c# generator

Adds a new generator for C# to create typesafe clients.
This allows users to generate C# code based on feature flag
definitions, streamlining integration with .NET applications.
Includes necessary command-line flags, templates, and tests.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat(csharp): adds C# generator integration test

Adds a C# code generator integration test to ensure the generated C# code compiles correctly.

This includes:
- A new C# generator based on templates
- Updates to the build process and documentation to support C# generation and testing
- An integration test using Docker to compile the generated C# code
- Fixes and adjustments to data type mappings for C# compatibility

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore: go fmt fixes

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update .github/workflows/csharp-integration.yml

Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update internal/generators/csharp/csharp.go

Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore(ci): moved the csharp integration into pr-test workflow as a separate job

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* chore: cleaned up generate code to private funcs are private

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* feat(csharp): implemented di for generated code

- updated openfeature to 2.3.2
- introduced IServiceCollection and DI patterns
- updated tests and expectations

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>

* Update .github/workflows/pr-test.yml

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>

* Update .github/workflows/pr-test.yml

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>

---------

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
Signed-off-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Co-authored-by: André Silva <2493377+askpt@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-04-14 17:40:52 +00:00
Kim Gustyr 1f8f43ae04
feat: Python generator (#95)
* feat: Python generator

Signed-off-by: Kim Gustyr <kim.gustyr@flagsmith.com>

* fix booleans

Signed-off-by: Kim Gustyr <kim.gustyr@flagsmith.com>

* fix typo

Signed-off-by: Kim Gustyr <kim.gustyr@flagsmith.com>

* add docs

Signed-off-by: Kim Gustyr <kim.gustyr@flagsmith.com>

---------

Signed-off-by: Kim Gustyr <kim.gustyr@flagsmith.com>
2025-04-10 12:37:44 +00:00
Roman Dmytrenko 412a1174b5
fix: use the correct json schema url in init command (#96)
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
2025-04-07 12:56:39 +00:00
OpenFeature Bot fa82a179e1
chore(main): release 0.3.2 (#86)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-04-02 14:27:57 +00:00
Michael Beemer 3fbd94726d
feat: consolidate logging and support debug flag (#92)
* feat: add nodejs generator

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>

* feat: add a nodejs generator

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

* improve doc diff output

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

* check out expected sha

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

* fix variable name

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

* feat: consolidate logging and support debug flag

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

* regenerate docs

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

---------

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-04-02 14:21:20 +00:00
Michael Beemer a40b6a4d31
feat: add nodejs generator (#91)
Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
2025-04-02 14:52:57 +01:00
Michael Beemer 9244276fc4
docs: add install, quick start, commands, and more to readme (#90)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-03-28 15:27:22 -04:00
Michael Beemer afa46d00b3
feat: add script to install the latest binary (#85)
## This PR

- add a script to install the latest binary

### Notes

This is a modified version of the script used in
[Vacuum](https://github.com/daveshanley/vacuum/blob/main/bin/install.sh).
I've tested it locally on Ubuntu in WSL2 with an X86 cpu.

### Follow-up Tasks

Once we've verified it works, I'll update the readme to include an
install section.

---------

Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: Kris Coleman <kris.blacksuitmedia@gmail.com>
Co-authored-by: Kris Coleman <kriscodeman@gmail.com>
2025-03-28 17:06:44 +00:00
Kris Coleman 9102d1390a
feat(cli): add stability annotations to generated Markdown documentation (#88)
closes #87

## This PR

This update introduces the addition of stability information to the
generated markdown content for commands in our CLI. The changes include
a new function, `addStabilityToMarkdown`, which checks if a command has
a 'stability' annotation and adds it to the markdown content
accordingly. This function is then used in both `generate.go` and
`init.go`. Additionally, formatting adjustments were made in `root.go`
for better readability.

### Notes
- Some of the logic felt a bit astonishing, so I left a lot of comments.
If this isn't helpful, I'd be happy to remove them.
- I tried to approach this in a way where the addedStabilityInfo was
inherent and not imperative.
- There is still one imperative func that needs to be used in each
command, I would be open to suggestions to eliminate it.
- The logic for customizing the markdown should work for any command we
implement in the future.
- I was going to try and use go templating to achieve this, but ended up
going with a 'mutate after the fact' approach.
- This approach could be utilized in the future to customize the docs
further, but the logic to do so is very procedural. In the future, I
would like to think up a more declarative approach, I think this could
improve it so it's more easily extensible and less to maintain.

### Follow-up Tasks
- Possibly introduce a more declarative approach so we can extend
markdown customization more easily in the future, without having to
write additional logic to figure out where to place the custom content.

### How to test
- [ ] run `make generate-docs` and you should see the stability info
output in the docs. Change or add a new stability info to a command, try
it, and you should see the changes updated.

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
2025-03-27 19:20:36 +00:00
Kris Coleman 05e094db68
feat: add contributing guide and generator readme (#80)
## This PR

Added a new CONTRIBUTING.md file with detailed instructions on how to
contribute new generators to the project. This includes steps from
forking the repository, implementing the generator logic, writing tests,
registering the generator in CLI, updating documentation, and creating a
pull request.

Also added a README.md in the internal/generators directory explaining
how each generator works. It details about `language.go` and
`language.tmpl` files that are essential parts of each generator along
with an example workflow of how these components interact to generate
code based on OpenFeature flag manifest.

### Related Issues
closes #69

Signed-off-by: Kris Coleman <kriscodeman@gmail.com>
2025-03-18 23:08:49 +00:00
OpenFeature Bot 0f4ba1f5a2
chore(main): release 0.3.1 (#84)
🤖 I have created a release *beep* *boop*
---


## [0.3.1](https://github.com/open-feature/cli/compare/v0.3.0...v0.3.1)
(2025-03-18)


### 🐛 Bug Fixes

* binary name referenced in the dockerfile
([0e28e8e](0e28e8ec3b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-03-18 20:03:47 +00:00
Michael Beemer 0e28e8ec3b
fix: binary name referenced in the dockerfile
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-03-18 16:02:02 -04:00
OpenFeature Bot e988d75996
chore(main): release 0.3.0 (#83)
🤖 I have created a release *beep* *boop*
---


## [0.3.0](https://github.com/open-feature/cli/compare/v0.2.0...v0.3.0)
(2025-03-18)


### ⚠ BREAKING CHANGES

* change binary name
([#82](https://github.com/open-feature/cli/issues/82))

### 🧹 Chore

* change binary name
([#82](https://github.com/open-feature/cli/issues/82))
([fdfe561](fdfe561d49))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-03-18 17:56:23 +00:00
Michael Beemer fdfe561d49
chore!: change binary name (#82)
## This PR

- changes the binary name from `openfeature-cli` to `openfeature`

### Notes

I'm working on an install script and noticed that the binary is
needlessly long.

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-03-18 15:55:09 +00:00
OpenFeature Bot 67f45c1e28
chore(main): release 0.2.0 (#77)
🤖 I have created a release *beep* *boop*
---


## [0.2.0](https://github.com/open-feature/cli/compare/v0.1.10...v0.2.0)
(2025-03-18)


### ⚠ BREAKING CHANGES

* add init command, update cli flags, support a config file
([#71](https://github.com/open-feature/cli/issues/71))

### 🧹 Chore

* rename the checksum file
([34afca6](34afca62ab))
* upgrade viper to 1.20
([#78](https://github.com/open-feature/cli/issues/78))
([6c36ee9](6c36ee90f7))


### 🔄 Refactoring

* add init command, update cli flags, support a config file
([#71](https://github.com/open-feature/cli/issues/71))
([106bf9d](106bf9ddfe))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-03-18 13:07:17 +00:00
Michael Beemer 34afca62ab
chore: rename the checksum file
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-03-18 08:58:23 -04:00
Michael Beemer 6c36ee90f7
chore: upgrade viper to 1.20 (#78)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-03-16 11:51:46 -04:00
Michael Beemer 106bf9ddfe
refactor!: add init command, update cli flags, support a config file (#71)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2025-03-14 16:12:26 -04:00
OpenFeature Bot e430a8dbe6
chore(main): release 0.1.10 (#65)
🤖 I have created a release *beep* *boop*
---


##
[0.1.10](https://github.com/open-feature/cli/compare/v0.1.9...v0.1.10)
(2025-01-27)


###  New Features

* add doc gen, move schema path, add tests, fix react gen
([#68](https://github.com/open-feature/cli/issues/68))
([68a72ee](68a72ee929))
* update golang output
([#63](https://github.com/open-feature/cli/issues/63))
([0e7db02](0e7db0209e))


### 🧹 Chore

* go mod tidy, gitignore dist folder
([1530d38](1530d38dd3))
* switch base image from distroless to alpine
([#67](https://github.com/open-feature/cli/issues/67))
([60955af](60955af1a9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
2025-01-27 15:25:53 +00:00
Michael Beemer 68a72ee929
feat: add doc gen, move schema path, add tests, fix react gen (#68)
## This PR

- moves JSON schema to a dedicated directory
- added schema validation tests
- fixed React code gen (and tests)
- automate CLI doc generation
- Loosen JSON schema
- ~~Rename default value~~

### Related Issues

Fixes #66

### Notes

It's a big PR that I could break into smaller changes if necessary.

---------

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Michael Beemer <michael.beemer@dynatrace.com>
2025-01-27 15:20:19 +00:00