pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
61 stars 33 forks source link

CLI command to save default config in a file #976

Open Prajjawalk opened 10 months ago

Prajjawalk commented 10 months ago

Description

Reference issue- #975

Summary generated by Reviewpad on 30 Nov 23 03:37 UTC

This pull request adds a new command to the CLI that allows saving the default configuration to a file. The configuration is saved in a config.yaml file. Additionally, it handles errors in the WriteConfigAs function by logging an error message if writing the config to the file fails.

Issue

Fixes #975

Type of change

Please mark the relevant option(s):

List of changes

Testing

Required Checklist