-
Notifications
You must be signed in to change notification settings - Fork 467
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
dotCLI : Do not require the dot-service.yml #27799
Comments
We already have a validation in place that prevents every command from being executed unless the cli has been configured (Meaning that the yml has been created). What should be the flow from now on? |
We should not need a yml to run the command line. If all the needed switches needed are passed to the cli, it should work. It seems like the |
Added a new Resetable interface and implemented it in the AuthenticationParam and RemoteURLParam classes. This implementation standardized the way objects reset to their original state across the API models. As a result, removed the reset method from these classes as it's now inherited from the Resetable interface.
* #27799 Adding support for a dotCMS URL and bypass the yml file configuration * #27799 Adding support for a dotCMS URL and bypass the yml file configuration * #27799 Adding support for a dotCMS URL and bypass the yml file configuration * #27799 Fixing IT * #27799 Applying sonarlint feedback * #27799 Renaming test class * #27799 Handling nulls * #27799 Improving cleanup in IT * #27799 Implemented Resetable interface in API models Added a new Resetable interface and implemented it in the AuthenticationParam and RemoteURLParam classes. This implementation standardized the way objects reset to their original state across the API models. As a result, removed the reset method from these classes as it's now inherited from the Resetable interface.
Task
If all the commands can take a token (and do not need a user/creds) then we should also add the ability to specify the DOT_API_URL via the command line. This will save time when someone is trying to use the cli programmatically or just as a one off thing - there wont be a need to make a fake/temp entry into a
$HOME/.dotcms/dot-service.yml
file.This would allow us to just use something like the following:
The text was updated successfully, but these errors were encountered: