Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
os: [windows-2019]
os: [windows-2022]
python-version: [3.11]

steps:
Expand Down
137 changes: 68 additions & 69 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ See:


COMMAND GROUPS:
{address,contract,tx,validator,ledger,wallet,validator-wallet,deps,config,localnet,data,staking-provider,dns,faucet,multisig,governance,env,get}
{config-wallet,contract,tx,validator,ledger,wallet,validator-wallet,deps,config,localnet,data,staking-provider,dns,faucet,multisig,governance,env,get}

TOP-LEVEL OPTIONS:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--verbose
--log-level {debug,info,warning,error}
default: debug
default: info

----------------------
COMMAND GROUPS summary
----------------------
address Configure MultiversX CLI to use a default wallet.
config-wallet Configure MultiversX CLI to use a default wallet.
contract Deploy, upgrade and interact with Smart Contracts
tx Create and broadcast Transactions
validator Stake, UnStake, UnBond, Unjail and other actions useful for Validators
Expand Down Expand Up @@ -5783,12 +5783,12 @@ options:
-h, --help show this help message and exit

```
## Group **Address**
## Group **ConfigWallet**


```
$ mxpy address --help
usage: mxpy address COMMAND [-h] ...
$ mxpy config-wallet --help
usage: mxpy config-wallet COMMAND [-h] ...

Configure MultiversX CLI to use a default wallet.

Expand All @@ -5801,149 +5801,148 @@ OPTIONS:
----------------
COMMANDS summary
----------------
new Creates a new address config and sets it as the active address.
list List available addresses
dump Dumps the active address.
get Gets a config value from the active address.
set Sets a config value for the active address.
delete Deletes a config value from the active address.
switch Switch to a different address.
remove Deletes an address using the alias. No default address will be set. Use `address switch` to set a new address.
reset Deletes the config file. No default address will be set.
new Creates a new wallet config and sets it as the active wallet.
list List configured wallets
dump Dumps the active wallet.
get Gets a config value from the specified wallet.
set Sets a config value for the specified wallet.
delete Deletes a config value from the specified wallet.
switch Switch to a different wallet.
remove Removes a wallet from the config using the alias. No default wallet will be set. Use `config-wallet switch` to set a new wallet.
reset Deletes the config file. No default wallet will be set.

```
### Address.New
### ConfigWallet.New


```
$ mxpy address new --help
usage: mxpy address new [-h] ...
$ mxpy config-wallet new --help
usage: mxpy config-wallet new [-h] ...

Creates a new address config and sets it as the active address.
Creates a new wallet config and sets it as the active wallet.

positional arguments:
alias the alias of the wallet
alias the alias of the wallet

options:
-h, --help show this help message and exit
--template TEMPLATE an address config from which to create the new address
-h, --help show this help message and exit
--path PATH the absolute path to the wallet file

```
### Address.List
### ConfigWallet.List


```
$ mxpy address list --help
usage: mxpy address list [-h] ...
$ mxpy config-wallet list --help
usage: mxpy config-wallet list [-h] ...

List available addresses
List configured wallets

options:
-h, --help show this help message and exit

```
### Address.Dump
### ConfigWallet.Dump


```
$ mxpy address dump --help
usage: mxpy address dump [-h] ...
$ mxpy config-wallet dump --help
usage: mxpy config-wallet dump [-h] ...

Dumps the active address.
Dumps the active wallet.

options:
-h, --help show this help message and exit

```
### Address.Get
### ConfigWallet.Get


```
$ mxpy address get --help
usage: mxpy address get [-h] ...
$ mxpy config-wallet get --help
usage: mxpy config-wallet get [-h] ...

Gets a config value from the active address.
Gets a config value from the specified wallet.

positional arguments:
value the value to get from the active address (e.g. path)
value the value to get from the specified wallet (e.g. path)

options:
-h, --help show this help message and exit
-h, --help show this help message and exit
--alias ALIAS the alias of the wallet

```
### Address.Set
### ConfigWallet.Set


```
$ mxpy address set --help
usage: mxpy address set [-h] ...
$ mxpy config-wallet set --help
usage: mxpy config-wallet set [-h] ...

Sets a config value for the active address.
Sets a config value for the specified wallet.

positional arguments:
key the key to set for the active address (e.g. index)
value the value to set for the specified key
key the key to set for the specified wallet (e.g. index)
value the value to set for the specified key

options:
-h, --help show this help message and exit
-h, --help show this help message and exit
--alias ALIAS the alias of the wallet

```
### Address.Set
### ConfigWallet.Switch


```
$ mxpy address delete --help
usage: mxpy address delete [-h] ...
$ mxpy config-wallet switch --help
usage: mxpy config-wallet switch [-h] ...

Deletes a config value from the active address.

positional arguments:
value the value to delete for the active address
Switch to a different wallet.

options:
-h, --help show this help message and exit
-h, --help show this help message and exit
--alias ALIAS the alias of the wallet

```
### Address.Switch
### ConfigWallet.Delete


```
$ mxpy address switch --help
usage: mxpy address switch [-h] ...
$ mxpy config-wallet delete --help
usage: mxpy config-wallet delete [-h] ...

Switch to a different address.
Deletes a config value from the specified wallet.

positional arguments:
alias the alias of the wallet
value the value to delete for the specified address

options:
-h, --help show this help message and exit
-h, --help show this help message and exit
--alias ALIAS the alias of the wallet

```
### Address.Remove
### ConfigWallet.Remove


```
$ mxpy address remove --help
usage: mxpy address remove [-h] ...
$ mxpy config-wallet remove --help
usage: mxpy config-wallet remove [-h] ...

Deletes an address using the alias. No default address will be set. Use `address switch` to set a new address.

positional arguments:
alias the alias of the wallet
Removes a wallet from the config using the alias. No default wallet will be set. Use `config-wallet switch` to set a new wallet.

options:
-h, --help show this help message and exit
-h, --help show this help message and exit
--alias ALIAS the alias of the wallet

```
### Address.Reset
### ConfigWallet.Reset


```
$ mxpy address reset --help
usage: mxpy address reset [-h] ...
$ mxpy config-wallet reset --help
usage: mxpy config-wallet reset [-h] ...

Deletes the config file. No default address will be set.
Deletes the config file. No default wallet will be set.

options:
-h, --help show this help message and exit
Expand Down
20 changes: 10 additions & 10 deletions CLI.md.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,16 @@ generate() {
command "Environment.Remove" "env remove"
command "Environment.Reset" "env reset"

group "Address" "address"
command "Address.New" "address new"
command "Address.List" "address list"
command "Address.Dump" "address dump"
command "Address.Get" "address get"
command "Address.Set" "address set"
command "Address.Set" "address delete"
command "Address.Switch" "address switch"
command "Address.Remove" "address remove"
command "Address.Reset" "address reset"
group "ConfigWallet" "config-wallet"
command "ConfigWallet.New" "config-wallet new"
command "ConfigWallet.List" "config-wallet list"
command "ConfigWallet.Dump" "config-wallet dump"
command "ConfigWallet.Get" "config-wallet get"
command "ConfigWallet.Set" "config-wallet set"
command "ConfigWallet.Switch" "config-wallet switch"
command "ConfigWallet.Delete" "config-wallet delete"
command "ConfigWallet.Remove" "config-wallet remove"
command "ConfigWallet.Reset" "config-wallet reset"

group "Get" "get"
command "Get.Account" "get account"
Expand Down
Loading
Loading