Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
/ pi Public archive

The tool to modify craco server port

License

Notifications You must be signed in to change notification settings

Kutius/pi

Repository files navigation

pi

pi - Choose the server you want to connect.

pnpm i -g craco-pi

or use

pnpx craco-pi

Usage

By default, pi will read the craco.config.js file in the current directory.

pi will use ~/.pirc as profile if exists. There are some persist data to save high frequency use of IP.

And then you can use argument -i to add an ip to the profile for persistence.

pi -i 192.168.3.128

Certainly, you can just use

pi -i 3.128

It is by default added the prefix 192.168. to the server ip.

To select the server which is in the profile, you can use -s to choose one.

pi -s

Sponsors

License

MIT License © 2022 今夜白