star_trek_date/README.md
2024-06-19 10:47:13 +01:00

53 lines
1.0 KiB
Markdown

# star_trek_date
## Installation
To install this on your system, the files need to go in certain places;
### bin/* (main script and config file)
Copy the files in bin/* to your $HOME/bin directory or /usr/local/bin or /usr/bin dir (or your chosen dir that's in the $PATH)
### bash.d/* (tab completion script)
Copy the file in bash.d/* to your $HOME/.bash.d directory, and make sure your $HOME/.bashrc sources all files in that dir
## Usage
Usage: star_trek_date [-d] [-l] <language>
## Examples
```
$ star_trek_date klingon
Today's date in Klingon is: wejleS jaj 19, jar jar
```
```
$ star_trek_date vulcan
Today's date in Vulcan is: klosh wak 19, t'vash shen
```
```
$ star_trek_date -d vulcan
DEBUG: Current day: 19
DEBUG: Current month: June
DEBUG: Current day of week: 3
DEBUG: Day label: wak
DEBUG: Month label: shen
DEBUG: Day of week label: klosh
DEBUG: Month of year label: t'vash
Today's date in Vulcan is: klosh wak 19, t'vash shen
```
```
$ star_trek_date -l
Available languages:
bajoran
klingon
romulan
vulcan
```