dizipal-cli
v0.1.3
Published
CLI tool for DizipalTV
Maintainers
Readme
Dizipal CLI
A CLI tool to find the most up-to-date address of Dizipal directly from the terminal.
Table of Contents
Features
- Find the latest Dizipal address with a simple command:
dizipal find --latest. - Save the latest Dizipal address as an environment variable:
$DIZIPAL.
Installation
[!IMPORTANT]
You must have the latest LTS version of Node.js installed on your system. To check if it is installed, enter the following command in your terminal:node --versionIf you see a version number, then Node.js is installed on your system (e.g.,
v20.17.0).
Open your terminal and enter the following command to install dizipal-cli globally:
npm install --global dizipal-cliUsage
[!NOTE]
Versionv0.0.1contains a single utility command:find.
Thefindcommand searches for the latest Dizipal address and saves it as an environment variable ($DIZIPAL) if you are not using a Windows device.
Find the latest Dizipal address using the API.
dizipal find --latestor
dizipal find -lStart searching for the latest address from https://dizipal730.com and continue sequentially, e.g., https://dizipal731.com.
dizipal find --url https://dizipal730.comor
dizipal find -u https://dizipal730.comFind the latest address using a custom API endpoint and look for the currentSiteURL key in the JSON response.
dizipal find --api https://example.com/api --latestor
dizipal find -a https://example.com/api -lContributing
We welcome contributions! Please follow these steps to contribute:
- Fork this repository.
- Create a new branch:
git checkout -b feature/your-feature. - Commit your changes:
git commit -m 'Add new feature'. - Push to your branch:
git push origin feature/your-feature. - Open a Pull Request.
License
This project is licensed under the MIT License.
Contact
For questions or suggestions, please email us at [email protected].
