functionsuseEnvironmentVersion: NextOn this pageuseEnvironmentuseEnvironment(): CommandKitEnvironment Use current commandkit context. Throws an error if no context is found. Source