You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kosmorro.1.md 2.7 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # kosmorro(1) -- a program that computes the ephemerides
  2. ## SYNOPSIS
  3. `kosmorro`
  4. `kosmorro` [_OPTIONS_]...
  5. ## OPTIONS
  6. `-h`, `--help`
  7. show a help message and exit
  8. `--version`, `-v`
  9. show the program version
  10. `--clear-cache`
  11. delete all the files Kosmorro stored in the cache
  12. `--position=`"_LATITUDE_,_LONGITUDE_", `-p` "_LATITUDE_,_LONGITUDE"
  13. the observer's position on Earth
  14. `--date=`_DATE_, `-d` _DATE_
  15. 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
  16. `--timezone=`_TIMEZONE_, `-t` _TIMEZONE_
  17. the timezone to display the hours in; e.g. 2 for UTC+2 or -3 for UTC-3
  18. `--no-colors`
  19. disable the colors in the console
  20. `--output=`_OUTPUT_, `-o` _OUTPUT_
  21. a file to export the output to; if not given, the standard output is used
  22. `--format=`_FORMAT_, `-f` _FORMAT_ (optional)
  23. the format under which the information have to be output; one of the following:
  24. text (plain text, like normal console output), json, tex (LaTeX), pdf.
  25. If no format is provided, the output format will be inferred from the extension of the output file
  26. `--no-graph`
  27. present the ephemerides in a table instead of a graph; PDF output format only
  28. ## ENVIRONMENT VARIABLES
  29. The environment variable listed below may be used instead of the options.
  30. The options have a higher priority than the environment variable.
  31. As a consequence, any option that would be given to `kosmorro` will override its corresponding environment variable.
  32. Available environment variables are:
  33. `KOSMORRO_POSITION`
  34. the observer's position on Earth (alternative to `--position`)
  35. `KOSMORRO_TIMEZONE`
  36. the observer's timezone (alternative to `--timezone`)
  37. `NO_COLOR`
  38. disable colored console output (alternative to `--no-colors`)
  39. ## EXAMPLES
  40. Compute the events only for the current date:
  41. ```
  42. kosmorro
  43. ```
  44. Compute the ephemerides for Lille, France, on April 1st, 2022:
  45. ```
  46. kosmorro --latitude=50.5876 --longitude=3.0624 --date=2022-04-01
  47. ```
  48. Compute the ephemerides for Lille, France, on April 1st, 2022, and export them in a PDF document:
  49. ```
  50. kosmorro --latitude=50.5876 --longitude=3.0624 -date=2022-04-01 --output=file.pdf
  51. ```
  52. ## AUTHOR
  53. Written by Jérôme Deuchnord.
  54. ## REPORTING BUGS
  55. Please report any encountered bugs on Kosmorro's [GitHub project](https://github.com/Deuchnord/kosmorro).
  56. ## COPYRIGHT
  57. 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.