wareki_cli v1.0.0
wareki_cli
The wareki_cli is tools for command line execution. Displays the current Japanese calendar in Japan or the Japanese calendar for the year given as a command line argument. Working like
Installation ・ Usage
You can use this cli by npx
npx wareki_cli
If you specify date
# return 平成12/1/1
npx wareki_cli 2000-01-01
Development
Setup
npm i
npx gulp
Gulp is running tsc and dumping ts file under src folder to dist folder.
Executing compiled JavaScript is
node dist/js/index.js
CI/CD
The following libraries are primarily used to maintain this repository.
And husky run these libraries in pre-commit.
Testing
PlayWrite is used for testing. https://playwright.dev/
If you use VSCode, I recommend you introduce this extension.
https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
1 year ago