Skip to content

Conversation

@thomaswinkler
Copy link
Contributor

Fixed showing help for script commands in extensions when there is no active session. Currently c8y does not show the help, but instead present an error.

eval $(c8y sessions clear)  
c8y myextension mycommand --help                               
2025-10-30T16:17:09.299+0100    WARN    Check existing session failed. commandError: A c8y session has not been loaded. Please create or activate a session and try again
2025-10-30T16:17:09.299+0100    ERROR   commandError: A c8y session has not been loaded. Please create or activate a session and try again

@thomaswinkler
Copy link
Contributor Author

This needs to be also fixed for --examples.

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.

1 participant