AntelopeIO / DUNES

Docker Utilities for Node Execution
Other
26 stars 17 forks source link

Restore possibility to choose specific leap version #187

Closed mikelik closed 1 year ago

mikelik commented 1 year ago

On main branch when I run dune --leap I get:

mikel@msi:~/repo/DUNE$ ./dune --leap
usage: dune [-h] [-s NODE] [-c CONFIG_DIR] [--stop NODE] [--remove NODE] [--list] [--simple-list] [--set-active NODE] [--get-active]
            [--export-node NODE PATH] [--import-node NODE PATH] [--monitor] [--import-dev-key KEY] [--create-key] [--export-wallet]
            [--import-wallet DIR] [--create-account ['NAME', 'CREATOR Optional)', 'PUB_KEY (Optional)', 'PRIV_KEY (Optional)']
            [['NAME', 'CREATOR (Optional)', 'PUB_KEY (Optional)', 'PRIV_KEY (Optional)'] ...]]
            [--create-cmake-app ['PROJ_NAME', 'DIR'] ['PROJ_NAME', 'DIR']] [--create-bare-app ['PROJ_NAME', 'DIR']
            ['PROJ_NAME', 'DIR']] [--cmake-build ['DIR', '-- FLAGS (Optional)']] [--ctest ['DIR', '-- FLAGS (Optional)']]
            [--gdb ['PROGRAM', '-- FLAGS (Optional']] [--deploy ['DIR', 'ACCOUNT'] ['DIR', 'ACCOUNT']] [--destroy-container]
            [--stop-container] [--start-container] [--set-core-contract ACCOUNT] [--set-bios-contract ACCOUNT]
            [--set-token-contract ACCOUNT] [--bootstrap-system] [--bootstrap-system-full]
            [--send-action ['ACCOUNT', 'ACTION', 'DATA', 'PERMISSION'] ['ACCOUNT', 'ACTION', 'DATA', 'PERMISSION']
            ['ACCOUNT', 'ACTION', 'DATA', 'PERMISSION'] ['ACCOUNT', 'ACTION', 'DATA', 'PERMISSION']]
            [--get-table ['ACCOUNT', 'SCOPE', 'TABLE'] ['ACCOUNT', 'SCOPE', 'TABLE'] ['ACCOUNT', 'SCOPE', 'TABLE']]
            [--activate-feature CODENAME] [--list-features] [--version] [--version-all] [--debug] [--upgrade] [--leap LEAP_VERSION]
            [--cdt CDT_VERSION]
            ...
dune: error: argument --leap: expected one argument

while on previous release I used to get the list of leap versions available. Similarly for dune --cdt.

Add tests for it.