mantil-io / mantil

Build your AWS Lambda-based Go backends quicker than ever
https://www.mantil.com
MIT License
110 stars 3 forks source link

Adapt command new for SDW #33

Closed IvanVlasic closed 2 years ago

IvanVlasic commented 2 years ago

new command was rewritten according to specification in SDW. It only creates local repo without creating github repository or any resources on AWS.

Usage:

mantil new <project-name> - creates new project from default template
mantil new <project-name> --from=<template> - creates new project from specified template provided by us
mantil new <project-name> --from=<url> - creates new project from template on specified URL

Additionally, flag module-name can be provided which will replace module name and import paths. If it's not provided, default value is project name.