Skip to main content

init

Overview

Taq init is used to initialize a Taqueria project. It can be used to create a new project from scratch, or can taq'ify an existing project

Running taq init with no argumets will taq'ify the current directory, while taq init [path] will create a new taq'ified directory at the given path

You may also supply the -w/--workflow flag if you'd like to have the necessary plugins pre-installed for you depending on what kind of developer you are: ligo, smartpy, archetype, or michelson. E.g. taq init [path] --workflow [language]

The task will create the following directories:

  • .taq - Taqueria configuation files (config.json, state.json, development-state.json)
  • contracts - The default directory for smart contract source files
  • artifacts - The default directory for Michelson files
note

This is one of two ways to create a taq'ified project, the other is to use the taq scaffold task

Plugin Implementations

This task is implemented by the following plugins:

Plugin NameDescription
N/ACore task - no plugin implementations

Command

taq init [path]

Task Details

Task NameCommandTypeDescription
inittaq init [path]Core CLICreates a Taqueria project (taq'ifies a directory)

Command-Line Arguments

ArgumentRequiredDescriptionExample Usage
[path]NoPath of the directory to taq'ifytaq init ./myNewTaqueriaProject

Usage

DescriptionCommandBehaviour
Taq'ify the current directorytaq initTaq'ifies the current directory
Create and taq'ify the given directorytaq init [path]Creates a new Taq'ified directory