Pavel Karpy
3a7d7bdecd
[ #665 ] cli: Set non-zero exit codes in err
cases
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-07-06 18:10:38 +03:00
Leonard Lyubich
61f48a2736
[ #651 ] cmd/cli: Replace netmap snapshot from netmap section to control
...
There is a need to have all `Control` service-related commands in `control`
section.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-29 13:44:59 +03:00
Leonard Lyubich
43eff09944
[ #607 ] *: Do not use deprecated elements of code
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-28 15:52:50 +03:00
Leonard Lyubich
1e52e86bbc
[ #607 ] node/control: Make group address in NodeInfo message
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-28 15:52:50 +03:00
Pavel Karpy
02ca1c4cc1
[ #624 ] cli: Do not print help on any failure
...
Change usage function to `Run`(does not return
err). Log errors with `cmd.PrintErrln`. Change
all `fmt.Print*` to `cmd.Print*`.
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-23 10:08:40 +03:00
Pavel Karpy
e3b4216fa7
[ #624 ] cli/netmap: Delete logging usage without agrs
...
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-23 10:08:40 +03:00
Evgenii Stratonikov
60d74bce67
[ #466 ] cli: support NEP-2 and NEP-6 key formats
...
NEP-2 is contains WIF encrypted with password.
NEP-6 is format used for neo-go wallets.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-04-23 10:11:47 +03:00
Leonard Lyubich
6204ca8308
[ #425 ] cli: Support latest changes from API library
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-03-17 15:00:37 +03:00
Leonard Lyubich
cb9e6ea6fa
[ #398 ] cmd/cli: Add netinfo command to netmap section
...
Add `netinfo` sub-cmd of `netmap` cmd that read recent information about
NeoFS network. Info is read via NeoFS API NetmapService.NetworkInfo RPC.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-19 19:16:40 +03:00
Leonard Lyubich
8d81954afe
[ #168 ] cmd/cli: Print netmap in JSON format
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-15 16:11:50 +03:00
Leonard Lyubich
cd4055d0b7
[ #168 ] cmd/cli: Add snapshot command to netmap section
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-01-15 16:11:50 +03:00
Leonard Lyubich
51b85b0a73
[ #278 ] cli: Support request X-Headers
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-24 15:03:02 +03:00
Leonard Lyubich
3de8febe57
[ #174 ] Update to latest neofs-api-go changes
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-17 11:56:00 +03:00
Alex Vanin
e47c866d6a
[ #169 ] Add --ttl
argument in CLI
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-16 12:50:21 +03:00
Alex Vanin
0021f1cc5f
[ #81 ] cmd/neofs-cli: Use hex encoding of node's public key
...
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-11-06 16:37:48 +03:00
Leonard Lyubich
25398262fc
[ #81 ] cmd/neofs-cli: Implement "nodeinfo" sub-cmd of "netmap" cmd
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 16:37:48 +03:00
Leonard Lyubich
5d94594007
[ #81 ] cmd/neofs-cli: Implement "epoch" sub-cmd of "netmap" cmd
...
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-11-06 16:37:48 +03:00
Stanislav Bogatyrev
246a15de35
cli: Add empty neofs-cli app structure
...
In the following release `neofs-cli` will be used to directly manage NeoFS Node.
All required definitions and interfaces are also moving from `neofs-api` to
`neofs-node` repository, so it's more convinient to have `neofs-cli` here.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-02 11:25:35 +03:00