-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
bugSomething isn't workingSomething isn't workingeffort:lowgood first issueGood for newcomersGood for newcomers
Description
Bug Description
When installing the connectors CLI locally from main, if you don't run login first, none of the commands with --help will work and the error message is confusing.
To Reproduce
Steps to reproduce the behavior:
- Go to
connectorsrepo in a new virtual environment (python -m venv .venv) - Install CLIs locally (
make installorpip install -e .) - Try
--helpon one of theconnectorscommands likeconnectors job --help - See error
.cli/config.yml was not found. Make sure that the config is either present at the default location (.cli/config.yml) or it's passed via the '-c' or '--config' option.
Expected behavior
--help commands should ideally work without login, but if not possible we should prompt the user to run connectors login first.
Optionally, as @seanstory suggested, it would be nice if we can default to calling login in the background with default credentials, such as elastic & changeme in order make the UX a bit smoother.
Screenshots
Environment
- OS: MacOS 15.6.1
- Version: 9.2.0
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeffort:lowgood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for Bug.