Closed wafuwafu13 closed 1 year ago
Thank you for trying to build new feature for dynein. I understand that you are trying to create the feature in separate multiple pull requests. I think It is a reasonable tactic.
As my quick search, I found that hidden
option of structopt
may work for this kind of phased development. I hope this information helps to implement more user-friendly interface even in developing phase. https://github.com/TeXitoi/structopt/issues/466
Do not display apply
subcommand in help is good idea but it is written in the README.
So I want to keep --test-apply
flag so that even if the user executes it, it will not affect the user.
*Issue https://github.com/awslabs/dynein/issues/155#issuecomment-1701326714
Description of changes:
During development, to eliminate the impact on users, ensure that apply only works when
--dev
is added.Now,
dy admin apply --dev
causes panic.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.