Skip to content

Опция интерактивного включения/выключения плагинов #282

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

Merged
merged 5 commits into from
Nov 13, 2021

Conversation

240596448
Copy link
Contributor

Для команд включения/выключения плагинов добавил опцию --interactive с ручным выбором плагинов

@oscript-library/Collaborators - пожалуйста, проверьте изменения и прокомментируйте их

Copy link
Member

@artbear artbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

есть предложения по улучшению

@240596448
Copy link
Contributor Author

Если убрать вообще опцию -i, и опираться на логику "не заданы плагины - значит интерактив", то команда не запускается без параметров, ругается. Вероятно нужно как-то спек хитро задать, но я не понял как.

@nixel2007
Copy link
Member

@240596448 потому что аргумент по умолчанию обязательный. попробуй в описании параметра добавить вызов .Обязательный(Ложь)

@artbear artbear merged commit 0724fc3 into oscript-library:develop Nov 13, 2021
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.

5 participants