tt new¶
Write the manifest a tt package is described by: the format version, the package name, the Tarantool and tt version requirements and an empty [dependencies] table for tt package add to write into. The name comes from -n, or from the directory when that is already a package name — lowercase letters, digits and dashes, starting with a letter. Components and products are left as commented examples, since their contents depend on a layout only the author knows. An existing app.manifest.toml is never overwritten — the command fails instead. This is not tt create, which lays out a whole application from a template; tt new adds one file to a directory that may already hold a project.
Usage
tt new [flags]
Flags
-C,--directory string- work on the project in DIR itself, not on the one the current directory is in-n,--name string- package name to declare; defaults to the directory name
Examples
# Create a manifest for the project in the current directory.
$ tt new
# Name the package explicitly, when the directory is not named for it.
$ tt new -n my-app