API Reference
lean create-project
Description
Creates a new project with some basic starter code.
If the language is set to python
, this generates a main.py file, a Python-based research notebook, a project configuration file, and editor configuration files for PyCharm and VS Code.
If the language is set to csharp
this generates a Main.cs file, a C#-based research notebook, a project configuration file, and editor configuration files for Visual Studio, Rider, and VS Code.
A full list of the created files can be found on the Projects > Structure page.
If no --language
is given, the default language saved in the global configuration is used.
You can update the default language to Python by running lean config set default-language python
or to C# by running lean config set default-language csharp
.
If the given project name contains slashes, the name is parsed as a path and the project is created in a subdirectory. Any subdirectories that don't exist yet are created automatically.