truffle create <artifact_type> <ArtifactName>

Helper to create new contracts, migrations and tests

Arguments

NameDescription
artifact_typeCreate a new artifact where artifact_type is one of the following: contract, migration, test or all. The new artifact is created along with one(or all) of the followingfiles: `contracts/ArtifactName.sol`, `migrations/####_artifact_name.js` or`tests/artifact_name.js`. (required)
ArtifactNameName of new artifact. (required)