Getting Started
Download
Download pre-built binaries and the accompanying man page from the Release page at GitHub.
Alternatively, you can build the program from source as shown in the next step.
Build
Clone the GitHub repository. Then use
make
to build the program:
Run
If you downloaded the binary from the Release page, follow the instructions there.
If you built the program yourself using make
, you can run it with
Alternatively, to run manually:
You should see the current date printed out in the YY/MM/DD = Www
format, for
example
Install
To install the program, run
The man
page will be installed alongside the program. You might need sudo
privileges. Run make help
for customization options. To install the
binary and the man page manually, copy them to their default destinations or to
directories of your choice:
Source | Default Destination |
---|---|
./bin/release/today |
/usr/local/bin/ |
./docs/man/today.1 |
/usr/local/share/man/man3/ |
To uninstall the program and the man page, run
Ask for Help
As is typical with command-line programs, run
for help. If the man page has been installed, you can run
to view the manual page for more information.
For source code and project files, please see the GitHub repository.