tailieunhanh - Bắt đầu với IBM Websphere smash - p 4

12 Chapter 1 Installing the IBM WebSphere sMash CLI publish repository resolve rollback search switch update version Publish the module to your local repository. Manage repositories. Determine the module’s dependencies. Reverts the effects of the last resolve or update. Finds and prints all matching modules in the repository. Switch the module group. Resolves a module to its latest dependencies. Displays version information As you can see, there are a bunch of available commands. Each command may have arguments that it can be given, but again the command line is very helpful. You need only to type the following to get help on a particular command: zero. | 12 Chapter 1 Installing the IBM WebSphere sMash CLI publish Publish the module to your local repository. repository Manage repositories. resolve Determine the module s dependencies. rollback Reverts the effects of the last resolve or update. search Finds and prints all matching modules in the repository. switch Switch the module group. update Resolves a module to its latest dependencies. version Displays version information As you can see there are a bunch of available commands. Each command may have arguments that it can be given but again the command line is very helpful. You need only to type the following to get help on a particular command zero help command For example if we use zero help search we get the results shown in Listing . Listing Results of Zero Help Search in the CLI Usage zero search org module revision -remote -json The command uses the current module group to find in the local repository for a module that matches the given org module revision value and prints its search results. If no module name is given the command will print information about all available modules. You can also use the -remote option to tell the command to search the remote repository instead of the local one. If the -json option is used the report is formatted as a JSON document. The return codes for this command are 0 - success 1 - command failed The search command enables you to search for modules in the repository. There are commands to create new IBM WebSphere sMash applications start and stop applications package applications and many more. Spend some time familiarizing yourself with the commands and we ll take another look at the CLI in the next chapter. Download from Conclusion 13 Conclusion In this chapter we learned how to install IBM WebSphere sMash and how to test that installation. We also started working with the command-line interface CLI and became familiar with the available commands. In the next chapter we re going to take a look at

TỪ KHÓA LIÊN QUAN