NodeJS CLI Time & Date getter
npm install @alipiry/tite-cliTite shows you both Jalali & Gregorian date information alongside time info.
bash
typescript
javascript
nodeJS
`Requirements
To use this package, make sure you have yarn installed on your machine:macOS:
`bash
> brew install yarn
`
Linux:
`bash
> curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
`
`bash
> sudo apt-get update && sudo apt-get install yarn
`Installation
Install package:
`bash
> yarn global add @alipiry/tite-cli
`Usage
Simply run tite to get time and date information:
`bash
> tite
`You can use following command to see
tite options:
`bash
> tite -h
`$3
-y, --year: Shows the year of current date-m, --month: Shows the month of current date-d, --day: Shows the day of current date-w, --weekday: Shows the week day of current date-t, --time: Shows current timeDevelopment
Clone the project:
`bash
> git clone git@github.com:alipiry/tite-cli.git
`Install dependencies and dev dependencies:
`bash
> cd tite-cli/
> yarn
`
$3
`bash
> yarn dev
`$3
`bash
> yarn build
``