kosmorro
kosmorro
[OPTIONS]...
-h
, --help
show a help message and exit
--version
, -v
show the program version
--clear-cache
delete all the files Kosmorro stored in the cache
--position=
”LATITUDE,LONGITUDE", -p
“LATITUDE,_LONGITUDE”
the observer’s position on Earth
--date=
_DATE_, -d
_DATE_
The date for which the ephemerides must be computed, either in the YYYY-MM-DD format or as an interval in the “[+-]YyMmDd” format (with Y, M, and D numbers); defaults to the current date
--timezone=
_TIMEZONE_, -t
_TIMEZONE_
the timezone to display the hours in; e.g. 2 for UTC+2 or -3 for UTC-3
--no-colors
disable the colors in the console
--output=
_OUTPUT_, -o
_OUTPUT_
a file to export the output to; if not given, the standard output is used
--format=
_FORMAT_, -f
_FORMAT_ (optional)
the format under which the information have to be output; one of the following:
text (plain text, like normal console output), json, tex (LaTeX).
If no format is provided, the output format will be inferred from the extension of the output file
--no-graph
present the ephemerides in a table instead of a graph; LaTeX output format only
The environment variable listed below may be used instead of the options.
The options have a higher priority than the environment variable.
As a consequence, any option that would be given to kosmorro
will override its corresponding environment variable.
Available environment variables are:
KOSMORRO_POSITION
the observer’s position on Earth (alternative to --position
)
KOSMORRO_TIMEZONE
the observer’s timezone (alternative to --timezone
)
NO_COLOR
disable colored console output (alternative to --no-colors
)
Compute the events only for the current date:
kosmorro
Compute the ephemerides for Lille, France, on April 1st, 2022:
kosmorro --latitude=50.5876 --longitude=3.0624 --date=2022-04-01
Written by Jérôme Deuchnord.
Please report any encountered bugs on Kosmorro’s GitHub project.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.