API Reference

lean init

Introduction

Scaffold a Lean configuration file and data directory.

$ lean init [OPTIONS]

Description

Fills the current directory with all the files needed to get going. It'll create a Lean configuration file and a data directory containing some sample data. To view a full list of the created files, see Directory Structure.

Options

The lean init command supports the following options:

OptionDescription
--organization <string>The name or id of the organization the Lean CLI will be scaffolded for
-l, --language <enum: python|csharp>The default language to use for new projects
--verboseEnable debug logging
--helpDisplay the help text of the lean init command and exit

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: