archway-network / cli

Develop WASM smart contracts with the Archway network developer CLI
https://docs.archway.io
Apache License 2.0
44 stars 21 forks source link

feat(config): Global config #221

Closed eliasmpw closed 1 year ago

eliasmpw commented 1 year ago

Update config data, now besides a project's local config file we have a global config file as well. If some value like chain-id is not set on either, we have a default value we use. This allows queries to be run on any directory, even outside of a CLI project.

As suggested in #213

New Commands to set config directly:

archway config chain-id archway config contracts-path archway config keyring-backend archway config keyring-path archway config default-account