Closed t1m0thyj closed 1 year ago
Currently the top-level package does not export any classes for extenders to use. To import the credential manager class, I have to do the following:
const K8sCredentialManager = require("@zowe/secrets-for-kubernetes-for-zowe-cli/lib/credentials/K8sCredentialManager");
Ideally the credential manager could be imported like this:
import { K8sCredentialManager } from "@zowe/secrets-for-kubernetes-for-zowe-cli";
We should enhance the K8s plugin for Zowe CLI to export APIs like the sample plugin: https://github.com/zowe/zowe-cli-sample-plugin/blob/master/src/index.ts
Currently the top-level package does not export any classes for extenders to use. To import the credential manager class, I have to do the following:
Ideally the credential manager could be imported like this:
We should enhance the K8s plugin for Zowe CLI to export APIs like the sample plugin: https://github.com/zowe/zowe-cli-sample-plugin/blob/master/src/index.ts