2323
2424
2525COMMAND GROUPS:
26- {contract,tx,validator,ledger,wallet,validator-wallet,deps,config,localnet,data,staking-provider,dns,faucet}
26+ {contract,tx,validator,ledger,wallet,validator-wallet,deps,config,localnet,data,staking-provider,dns,faucet,env }
2727
2828TOP-LEVEL OPTIONS:
2929 -h, --help show this help message and exit
@@ -40,12 +40,13 @@ ledger Get Ledger App addresses and version
4040wallet Create wallet, derive secret key from mnemonic, bech32 address helpers etc.
4141validator-wallet Create a validator wallet, sign and verify messages and convert a validator wallet to a hex secret key.
4242deps Manage dependencies or multiversx-sdk modules
43- config Configure multiversx-sdk (default values etc.)
43+ config Configure MultiversX CLI (default values etc.)
4444localnet Set up, start and control localnets
4545data Data manipulation omnitool
4646staking-provider Staking provider omnitool
4747dns Operations related to the Domain Name Service
4848faucet Get xEGLD on Devnet or Testnet
49+ env Configure MultiversX CLI to use specific environment values.
4950
5051```
5152## Group ** Contract**
@@ -421,6 +422,7 @@ options:
421422 or Ledger devices (default: 0)
422423 --sender-username SENDER_USERNAME 🖄 the username of the sender
423424 --hrp HRP The hrp used to convert the address to its bech32 representation
425+ --skip-confirmation, -y can be used to skip the confirmation prompt
424426
425427```
426428### Contract.ReproducibleBuild
@@ -2830,7 +2832,7 @@ options:
28302832$ mxpy config --help
28312833usage: mxpy config COMMAND [-h] ...
28322834
2833- Configure multiversx-sdk (default values etc.)
2835+ Configure MultiversX CLI (default values etc.)
28342836
28352837COMMANDS:
28362838 {dump,get,set,delete,new,switch,list,reset}
@@ -2841,12 +2843,12 @@ OPTIONS:
28412843----------------
28422844COMMANDS summary
28432845----------------
2844- dump Dumps configuration.
2845- get Gets a configuration value.
2846- set Sets a configuration value.
2847- delete Deletes a configuration value.
2848- new Creates a new configuration.
2849- switch Switch to a different config
2846+ dump Dumps the active configuration.
2847+ get Gets a configuration value from the active configuration .
2848+ set Sets a configuration value for the active configuration .
2849+ delete Deletes a configuration value from the active configuration .
2850+ new Creates a new configuration and sets it as the active configuration .
2851+ switch Switch to a different config.
28502852list List available configs
28512853reset Deletes the config file. Default config will be used.
28522854
@@ -2858,7 +2860,7 @@ reset Deletes the config file. Default config will be u
28582860$ mxpy config dump --help
28592861usage: mxpy config dump [-h] ...
28602862
2861- Dumps configuration.
2863+ Dumps the active configuration.
28622864
28632865options:
28642866 -h, --help show this help message and exit
@@ -2872,7 +2874,7 @@ options:
28722874$ mxpy config get --help
28732875usage: mxpy config get [-h] ...
28742876
2875- Gets a configuration value.
2877+ Gets a configuration value from the active configuration .
28762878
28772879positional arguments:
28782880 name the name of the configuration entry
@@ -2888,7 +2890,7 @@ options:
28882890$ mxpy config set --help
28892891usage: mxpy config set [-h] ...
28902892
2891- Sets a configuration value.
2893+ Sets a configuration value for the active configuration .
28922894
28932895positional arguments:
28942896 name the name of the configuration entry
@@ -2905,7 +2907,7 @@ options:
29052907$ mxpy config new --help
29062908usage: mxpy config new [-h] ...
29072909
2908- Creates a new configuration.
2910+ Creates a new configuration and sets it as the active configuration .
29092911
29102912positional arguments:
29112913 name the name of the configuration entry
@@ -2922,7 +2924,7 @@ options:
29222924$ mxpy config switch --help
29232925usage: mxpy config switch [-h] ...
29242926
2925- Switch to a different config
2927+ Switch to a different config.
29262928
29272929positional arguments:
29282930 name the name of the configuration entry
@@ -3074,3 +3076,154 @@ options:
30743076 --wallet-url WALLET_URL custom wallet url to call the faucet from
30753077
30763078```
3079+ ## Group ** Environment**
3080+
3081+
3082+ ```
3083+ $ mxpy env --help
3084+ usage: mxpy env COMMAND [-h] ...
3085+
3086+ Configure MultiversX CLI to use specific environment values.
3087+
3088+ COMMANDS:
3089+ {new,get,set,dump,delete,switch,list,remove,reset}
3090+
3091+ OPTIONS:
3092+ -h, --help show this help message and exit
3093+
3094+ ----------------
3095+ COMMANDS summary
3096+ ----------------
3097+ new Creates a new environment and sets it as the active environment.
3098+ get Gets an env value from the active environment.
3099+ set Sets an env value for the active environment.
3100+ dump Dumps the active environment.
3101+ delete Deletes an env value from the active environment.
3102+ switch Switch to a different environment.
3103+ list List available environments
3104+ remove Deletes an environment from the env file. Will switch to default env.
3105+ reset Deletes the environment file. Default env will be used.
3106+
3107+ ```
3108+ ### Environment.New
3109+
3110+
3111+ ```
3112+ $ mxpy env new --help
3113+ usage: mxpy env new [-h] ...
3114+
3115+ Creates a new environment and sets it as the active environment.
3116+
3117+ positional arguments:
3118+ name the name of the configuration entry
3119+
3120+ options:
3121+ -h, --help show this help message and exit
3122+ --template TEMPLATE an environment from which to create the new environment
3123+
3124+ ```
3125+ ### Environment.Set
3126+
3127+
3128+ ```
3129+ $ mxpy env set --help
3130+ usage: mxpy env set [-h] ...
3131+
3132+ Sets an env value for the active environment.
3133+
3134+ positional arguments:
3135+ name the name of the configuration entry
3136+ value the new value
3137+
3138+ options:
3139+ -h, --help show this help message and exit
3140+
3141+ ```
3142+ ### Environment.Get
3143+
3144+
3145+ ```
3146+ $ mxpy env get --help
3147+ usage: mxpy env get [-h] ...
3148+
3149+ Gets an env value from the active environment.
3150+
3151+ positional arguments:
3152+ name the name of the configuration entry
3153+
3154+ options:
3155+ -h, --help show this help message and exit
3156+
3157+ ```
3158+ ### Environment.Dump
3159+
3160+
3161+ ```
3162+ $ mxpy env dump --help
3163+ usage: mxpy env dump [-h] ...
3164+
3165+ Dumps the active environment.
3166+
3167+ options:
3168+ -h, --help show this help message and exit
3169+ --default dumps the default environment instead of the active one.
3170+
3171+ ```
3172+ ### Environment.Switch
3173+
3174+
3175+ ```
3176+ $ mxpy env switch --help
3177+ usage: mxpy env switch [-h] ...
3178+
3179+ Switch to a different environment.
3180+
3181+ positional arguments:
3182+ name the name of the configuration entry
3183+
3184+ options:
3185+ -h, --help show this help message and exit
3186+
3187+ ```
3188+ ### Environment.List
3189+
3190+
3191+ ```
3192+ $ mxpy env list --help
3193+ usage: mxpy env list [-h] ...
3194+
3195+ List available environments
3196+
3197+ options:
3198+ -h, --help show this help message and exit
3199+
3200+ ```
3201+ ### Environment.Remove
3202+
3203+
3204+ ```
3205+ $ mxpy env remove --help
3206+ usage: mxpy env remove [-h] ...
3207+
3208+ Deletes an environment from the env file. Will switch to default env.
3209+
3210+ positional arguments:
3211+ environment The environment to remove from env file.
3212+
3213+ options:
3214+ -h, --help show this help message and exit
3215+
3216+ ```
3217+ ### Environment.Reset
3218+
3219+
3220+ ```
3221+ $ mxpy env reset --help
3222+ usage: mxpy env reset [-h] ...
3223+
3224+ Deletes the environment file. Default env will be used.
3225+
3226+ options:
3227+ -h, --help show this help message and exit
3228+
3229+ ```
0 commit comments