/new

make a new project with git and dependency stuff

Primary LanguageShell

new — create a new project

Create a new project by doing the following:

  • create project directory
  • initialize git repo
  • initialize certain dependency-management things:

Supports:

  • elixir
  • golang
  • python
  • rust
  • scala (via the scala/scala-seed.g8 Giter8 template)

Basically a bad ripoff of Rust's cargo init

Example usage:
$ new python fdsa

Creates:

$ tree -a fdsa -L 1
fdsa
├── .git
├── .gitignore
└── Pipfile

$ new golang scratch

Creates:

$ tree -a scratch/ -L 1
scratch/
├── .git
├── .gitignore
├── Gopkg.lock
├── Gopkg.toml
└── vendor

Dependencies

git, pipenv, dep, sbt, mix
Golang projects must be created in the GOPATH