The init command initializes a new package file for the PxPlus Package Manager, guiding the user through the process of setting up their package configuration.
init
The init command prompts the user with a series of questions to gather necessary details about the project. After collecting these details, it creates a package.json file containing the provided configurations. The command also offers options to generate example readme.md and changelog.md files.
Simply enter the command:
init
Follow the interactive prompts to enter project details such as the project name, author, description, and initial version.
-) are allowed.1.0.0 is assigned.Post these inputs, the command will also ask if you'd like to create:
readme.md file.changelog.md file.package.json file has been created. If chosen to generate, notifications for the creation of readme.md and changelog.md will also be displayed.package.json file already exists in the directory, the system will throw a PackagesFileAlreadyExistsException.