Chapter 16. The project wizard

Now that you have learned a lot about Buildtool, we can tell you about the bt_wizard module. It is used to automatically create a basic skeleton for you project so that you do not need to create all Buildtool related files by hand. The skeleton is created based on a set of intereactive questions made to you, the developer (there is a non-interactive mode, too).

After the skeleton is created, please review all files by hand. There will be missing things, and probably some others that you do not want.

The module syntax is the following:

buildtool wizard [ -a | --automatic ] [ -d path | --dir=path ] [ -h | --help ] [ -n value | --name=value ] [ -v value | --version=value ]

The following options are recognized:

-a | --automatic

Use the non-interactive mode. All default values are used, though some of them may be overriden by other options.

-d path | --dir=path

The directory where all files are created. Defaults to ..

-h | --help

Shows an useful help message, listing all available options.

-n value | --name=value

The default name for the project.

-v value | --version=value

The default version for the project.