0.0.3 • Published 7 months ago
@initx-plugin/pm v0.0.3
@initx-plugin/pm
Project manager plugin for initx.
Usage
install the plugin globally
npx initx plugin add pmSet project directory
npx initx pm add <name?> <path>name is optional. If it is not provided, it defaults to default.
path can be a relative path or an absolute path.
# Add the current directory as a project directory
npx initx pm add .
# Add the parent directory as a project directory
npx initx pm add ..
# Add the directory D:/Projets as a project directory
npx initx pm add D:/projets
# Add the directory D:/my-projects with name
npx initx pm add frontend D:/projects-front
npx initx pm add backend D:/projects-backendList project directories
npx initx pm listUse project directory
npx initx pm use <name>Remove project directory
npx initx pm remove <name>Create a new project to the specified directory
npx initx pm create name/repo <as?>Equivalent to run
cd <path>
git clone git@github.com:username/my-project.git as-name