11.5. Summary

In this chapter you built a shell script to deploy basic directories and files to help make starting a new project easier. The skeleton files can be modified as your needs change over time. But more importantly, you also wrote reusable code, which eases development of other shell scripts in the future.

The CommandLine class encapsulates static methods to accept user input in the form of arguments, a configuration file or direct input in response to prompts. These prompts may even offer default values to the user making the script more user-friendly.

In the next chapter I'll discuss some common security concerns you should keep in mind when writing code and what you can do to protect your applications—definitely an important topic!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.186.218