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.6 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. `--latitude=`_LATITUDE_, `-lat` _LATITUDE_
  13. the observer's latitude on Earth
  14. `--longitude=`_LONGITUDE_, `-lon` _LONGITUDE_
  15. the observer's longitude on Earth
  16. `--date=`_DATE_, `-d` _DATE_
  17. 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
  18. `--timezone=`_TIMEZONE_, `-t` _TIMEZONE_
  19. the timezone to display the hours in; e.g. 2 for UTC+2 or -3 for UTC-3
  20. `--no-colors`
  21. disable the colors in the console
  22. `--output=`_OUTPUT_, `-o` _OUTPUT_
  23. a file to export the output to; if not given, the standard output is used
  24. `--format=`_FORMAT_, `-f` _FORMAT_
  25. the format under which the information have to be output; one of the following: text, json, pdf
  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_LATITUDE`
  34. the observer's latitude on Earth (alternative to `--latitude`)
  35. `KOSMORRO_LONGITUDE`
  36. the observer's longitude on Earth (alternative to `--longitude`)
  37. `KOSMORRO_TIMEZONE`
  38. the observer's timezone (alternative to `--timezone`)
  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 --format=pdf --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.