Skip to content

Latest commit

 

History

History
executable file
·
30 lines (19 loc) · 860 Bytes

resource-type-cli-init.md

File metadata and controls

executable file
·
30 lines (19 loc) · 860 Bytes

init

Description

Generates a new extension project with stub source files.

While the specific folder structure and files generated varies by language, in general the project includes:

  • Resource schema file
  • Handler function source files
  • Unit test files
  • IDE and build files for the specified language

By default, init generates the extension project in the current directory.

Synopsis

  cfn init
[--force]

Options

--force

Force project files to be overwritten.

Output

The init command launches a wizard that walks you through setting up the project, including specifying the extension name.