mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-31 17:14:46 +01:00
* Add internal support for collaborative exit * Update protos and interface layer * Fixes after proto updates * Fix printing json & Do not print ark pubkey in config * Add collaborative redeem command * Polish * Add address validation * Fix building tree without right branch * Fixes and validation checks * Fixes * Fix counting complete queued payments * Add relays * Add and compute onchain balance concurrently * Tiny refactor * Merge `config connect` into `init` cmd
21 lines
327 B
Go
21 lines
327 B
Go
package main
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
var configCommand = cli.Command{
|
|
Name: "config",
|
|
Usage: "Print local configuration of the Noah CLI",
|
|
Action: printConfigAction,
|
|
}
|
|
|
|
func printConfigAction(ctx *cli.Context) error {
|
|
state, err := getState()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return printJSON(state)
|
|
}
|