1.1.0 • Published 7 months ago
@maksimer/setup v1.1.0
Maksimer setup
This is a set of scripts used to set up new projects or parts of a project when needed.
Usage
Add ymir/tests/theme etc. to existing project
To get a selection of options to add to an existing project run the following command:
npx @maksimer/setup
This will guide you trough the process.
The install options is dependent on the current directory you are in. If you are in a theme directory, you will only be able to install theme related options etc.
Create a new project
To create a new project, without getting prompts run the following command:
npx @maksimer/setup --project --projectName="yourprojectname" --type="composer" --y
Quick install
To quickly install a set of options, here is an example command:
npx @maksimer/setup --install="ymir,tests" --type="composer" --y
Available options
Option | Description | Default value |
---|---|---|
--help | Show help | false |
--project | Create a new project | false |
--projectName | The name of the project | "" |
--type | The type of project | "" |
--y | Skip the confirmation prompt | false |
--install | Choose which features to install, separated by comma | "" |