mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 20:24:21 +01:00
21 lines
326 B
Go
21 lines
326 B
Go
package main
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
var configCommand = cli.Command{
|
|
Name: "config",
|
|
Usage: "Shows configuration of the Ark wallet",
|
|
Action: printConfigAction,
|
|
}
|
|
|
|
func printConfigAction(ctx *cli.Context) error {
|
|
state, err := getState(ctx)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
|
|
return printJSON(state)
|
|
}
|