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

--skip-requirements flag should be binary and not require any inputs #3125

Open
craig8 opened this issue Oct 12, 2023 · 0 comments
Open

--skip-requirements flag should be binary and not require any inputs #3125

craig8 opened this issue Oct 12, 2023 · 0 comments
Assignees
Labels

Comments

@craig8
Copy link
Contributor

craig8 commented Oct 12, 2023

Describe the bug
Currently a value must be passed to --skip-requirements of the vctl install command, but I don't believe it is necessary. This command will skip any requirements.txt file that is located in the root of the agent directory.

To Reproduce
Steps to reproduce the behavior:

(volttron) craig8@WE48687:~/repos/volttron$ vctl install services/core/PlatformDriverAgent/ --skip-requirements
usage: vctl command [OPTIONS] ... install [-h] [-c FILE] [--debug] [-t SECS] [--msgdebug MSGDEBUG] [--vip-address ZMQADDR] [--skip-requirements SKIP_REQUIREMENTS] [--tag TAG]
                                          [--vip-identity VIP_IDENTITY] [--agent-config AGENT_CONFIG] [-f] [--priority PRIORITY] [--start] [--enable] [--csv] [--json]
                                          [-st AGENT_START_TIME]
                                          install_path
vctl command [OPTIONS] ... install: error: argument --skip-requirements: expected one argument
(volttron) craig8@WE48687:~/repos/volttron$ vctl install services/core/PlatformDriverAgent/ --skip-requirements 1
Agent 4df35ad5-2403-4fd8-89be-281a5c95c10a installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants