1.0.0-alpha.10 • Published 2 years ago
create-another-one v1.0.0-alpha.10
create-another-one
create-another-one allows users to create a new project based on a template by running npm create-another-one or yarn create another-one and specifying the options and arguments.
Usage
To use the script, follow these steps:
- Open your terminal or command prompt.
- Run the script using either of the following commands:
npm create-another-one [directory](replace[directory]with the desired project slug)yarn create another-one [directory](replace[directory]with the desired project slug)
- Optionally, provide the
-tor--templateflag followed by the desired template value. - Follow the prompts and provide the required information.
- The script will download the specified template into a new directory and initialize the Git history for the project.
Command-Line Options
The script supports the following command-line options:
-t, --template <template>: Specifies the template to use for the project. Available options are:web: Website templateapp: Mobile App templatedesktop: Desktop App templatelib: Library templatekiosk: Kiosk template
Example Usage
# Create a new project with a specific name and template
$ npm create-another-one my-project -t web
# Create a new project with a specific name and template (using Yarn)
$ yarn create another-one my-project --template app
# Create a new project with default name and prompt for template selection
$ npm create-another-one
# Create a new project with default name and prompt for template selection (using Yarn)
$ yarn create another-oneThese are just examples, and you can adjust the commands and options as needed based on your requirements.
1.0.0-alpha.9
2 years ago
1.0.0-alpha.10
2 years ago
1.0.0-alpha.8
3 years ago
1.0.0-alpha.7
3 years ago
1.0.0-alpha.6
3 years ago
1.0.0-alpha.5
3 years ago
1.0.0-alpha.4
3 years ago
1.0.0-alpha.3
3 years ago
1.0.0-alpha.2
3 years ago
1.0.0-alpha.1
3 years ago
1.0.0-alpha.0
3 years ago