Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Overhaul CLI #202

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

adamspofford-dfinity
Copy link
Contributor

@adamspofford-dfinity adamspofford-dfinity commented Jun 16, 2023

neuron-manage is a very confusing command when its options are listed in alphabetical order; transfer, sns transfer, and ckbtc transfer have slightly differing parameter names and styles; and several common-between-system features only have CLI support in one system due to falling through these cracks.

This PR factors out the neuron-manage command, makes command and argument names consistent where not otherwise illogical, and adds some overlooked features like the ability to spawn to another owner.

neuron-manage and configure-dissolve-delay have been left as-is, but hidden in the UI; other changed names have been left as aliases. Test cases were modified to reflect the new interface, but in each case it was first ensured that all existing commands continued to work. This is a breaking change in spirit, but not in actuality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant