feat(cli): add support for dynamic configuration overrides in init command #444`#732
Open
HarK-github wants to merge 11 commits into
Open
feat(cli): add support for dynamic configuration overrides in init command #444`#732HarK-github wants to merge 11 commits into
HarK-github wants to merge 11 commits into
Conversation
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.0 to 7.5.5. - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md) - [Commits](protobufjs/protobuf.js@protobufjs-v7.5.0...protobufjs-v7.5.5) --- updated-dependencies: - dependency-name: protobufjs dependency-version: 7.5.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…mmand Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Contributor
|
I ran it locally, but it doesn’t work as expected. When running: |
Contributor
Author
|
@OsamaRab3 I have made some changes. Try using set flag . ex :/fablo.sh init --set global.fabricVersion=2.5.0 --set global.tls=false |
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
Contributor
Author
|
@OsamaRab3 did it work? |
Contributor
Author
|
@OsamaRab3 can you have a look please |
Signed-off-by: Harshit Kandpal <kandpalhar@gmail.com>
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.
Add Support for Dynamic Configuration Overrides in
fablo initThis PR introduces the ability to override any property in the default
fablo-config.jsondirectly from the CLI duringfablo initusing the--setflag.1. New
--setFlag--set key=valuesyntax--setflags in a single commandfablo init --set global.fabricVersion=2.5.0 --set global.tls=false2. Smart Type Casting
The parser automatically detects and converts values to appropriate types:
true/false→ boolean type5,3.14→ number type{"key":"value"},[1,2,3]→ object/array type3. Nested Path Support
global.monitoring.loglevel=debugorgs[0].peer.db=CouchDb4. Backward Compatibility
node,dev,ccaas,gateway,restpositional arguments5. E2E Test Coverage
Added comprehensive test coverage for:
Usage Examples: