-
Notifications
You must be signed in to change notification settings - Fork 88
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
zowe cli V2 help contains deprecated commands which are not relevant #2137
Comments
Thank you for creating a bug report. |
I am a little confused about this issue. The title and the description of this issue focus on different topics. Regarding “help contains deprecated” commands: All V1 ‘zowe profiles …’ commands are deprecated in V2. That is why the help displays comments about them being deprecated. The ‘zowe profiles’ commands do still work in V2, but will be removed in V3. The recommended practice in V2 is to create and use a new style of configuration contained in a file named zowe.config.json. The actions to create and manage such a configuration is documented in the Zowe doc site. The following doc topic provides an introduction to creating your Zowe client configuration: Initializing team configuration The command that you list in your description just lists the set of profiles that you have created within your zowe.config.json file. That is what the help describes for the ‘zowe config profiles’ command. If you have created no configuration, the ‘zowe config profiles’ command lists nothing, because you have no profiles yet. Your best course of action is to follow the instructions at the Zowe doc site mentioned above. |
I need to set up multiple profiles for multiple mainframes, earlier it was possible to achieve - now
and in web help I see 3 words : Displays profile paths. |
In your most recent comment you did not show what command you actually entered. So, I must guess what it was. This error occurs when you already have a new-style configuration (zowe.config.json) and you issue a command to update an old-style profile. My guess is that you must have issued a command like 'zowe profiles create ...'. Zowe CLI will not run an old 'zowe profiles' command when you already have a zowe.config.json file in place. I do not know how you created a zowe.config.json file, but it appears that you definitely have one. The following command will show you where your zowe.config.json file resides.
You have 2 options.
Again, I suggest that you read the Zowe doc site for information on how to construct profiles in your zowe.config.json file. |
during zowe profile creation in the cli V2 I did not find descriptive help for the profile management.
Command
zowe config profiles --help-web
opens common list of command for v1 and v2. It is very is confusing because too lot of command are irrelevant, will be good to have an option to see only what can be used. Profile management in v2 is not described well.The text was updated successfully, but these errors were encountered: