Skip to main content

mantil new

Creates a new Mantil project

Creates a new Mantil project from the source provided with the --from option. The source can either be an existing git repository or one of the predefined templates: ping - excuses - chat - todo - github-to-slack -

If no source is provided it will default to the template "ping".

By default, the Go module name of the initialized project will be the project name. This can be changed by setting the --module-name option.


  mantil new <project> [options]


  <project>  Name of the new project.


      --from string          Name of the template or URL of the repository that will be used as one
--module-name string Replace module name and import paths


  ==> new project with default structure:
$ mantil new my-project

==> new project from built-in template:
$ mantil new my-project --from excuses

==> new project from any available template:
$ mantil new my-project --from


      --help       Show command help
--no-color Don't use colors in output