Skip to content

[cli.js] Support config.ini #454

@Rolaman

Description

@Rolaman

Currently, cli.js generates props and store them in config.ini file. The config.ini updates on new smart account creation. We need to implement commands to work with config.ini values.

Project: https://github.com/NilFoundation/nil/tree/main/clijs

  • config get: get particular value from config.ini
  • config init: init a new config.ini. Add forced option
  • config set: set particular value to config.ini
  • config show: show the whole content of config.ini file

Ref: https://github.com/NilFoundation/nil/blob/main/nil/cmd/nil/internal/config/command.go

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions