A command-line interface (CLI) tool for creating and managing Pinup API projects.
To install the Pinup CLI, use npm:
npm install -g pinup-cli
pinup create <name> [options]
Create a new project for Pinup API.
-m, --mkdir
: Make a directory for the project.-h, --help
: Display help for command.
-
Install the Pinup CLI globally using the above installation command.
-
Create a new Pinup API project:
pinup create my-api
-
Follow the interactive prompts to configure your project. You can choose to initialize Git control, add JWT authentication, and initialize components.
-
Once the setup is complete, the Pinup CLI will create the necessary project files and setup commands.
The generated project will have the following structure:
my-api
├── components
│ └── [component-name]
│ ├── [component-name].component.ts
│ └── [component-name].view.ts
├── package.json
└── ...other project files
create [options] <name>
- Create a new project for Pinup APIhelp [command]
- display help for command
Contributions are welcome! Feel free to open issues and submit pull requests on the GitHub repository.