Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

kosmorro.1.md 2.4 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 (in the YYYY-MM-DD format); 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. ## ENVIRONMENT VARIABLES
  27. The environment variable listed below may be used instead of the options.
  28. The options have a higher priority than the environment variable.
  29. As a consequence, any option that would be given to `kosmorro` will override its corresponding environment variable.
  30. Available environment variables are:
  31. `KOSMORRO_LATITUDE`
  32. the observer's latitude on Earth (alternative to `--latitude`)
  33. `KOSMORRO_LONGITUDE`
  34. the observer's longitude on Earth (alternative to `--longitude`)
  35. `KOSMORRO_TIMEZONE`
  36. the observer's timezone (alternative to `--timezone`)
  37. ## EXAMPLES
  38. Compute the events only for the current date:
  39. ```
  40. kosmorro
  41. ```
  42. Compute the ephemerides for Lille, France, on April 1st, 2022:
  43. ```
  44. kosmorro --latitude=50.5876 --longitude=3.0624 --date=2022-04-01
  45. ```
  46. Compute the ephemerides for Lille, France, on April 1st, 2022, and export them in a PDF document:
  47. ```
  48. kosmorro --latitude=50.5876 --longitude=3.0624 -date=2022-04-01 --format=pdf --output=file.pdf
  49. ```
  50. ## AUTHOR
  51. Written by Jérôme Deuchnord.
  52. ## REPORTING BUGS
  53. Please report any encountered bugs on Kosmorro's [GitHub project](https://github.com/Deuchnord/kosmorro).
  54. ## COPYRIGHT
  55. 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.