您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

kosmorro.1.md 2.5 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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: text, json, pdf. If no format is provided, the output format will be inferred from the extension of the output file
  24. `--no-graph`
  25. present the ephemerides in a table instead of a graph; PDF output format only
  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_POSITION`
  32. the observer's position on Earth (alternative to `--position`)
  33. `KOSMORRO_TIMEZONE`
  34. the observer's timezone (alternative to `--timezone`)
  35. ## EXAMPLES
  36. Compute the events only for the current date:
  37. ```
  38. kosmorro
  39. ```
  40. Compute the ephemerides for Lille, France, on April 1st, 2022:
  41. ```
  42. kosmorro --latitude=50.5876 --longitude=3.0624 --date=2022-04-01
  43. ```
  44. Compute the ephemerides for Lille, France, on April 1st, 2022, and export them in a PDF document:
  45. ```
  46. kosmorro --latitude=50.5876 --longitude=3.0624 -date=2022-04-01 --output=file.pdf
  47. ```
  48. ## AUTHOR
  49. Written by Jérôme Deuchnord.
  50. ## REPORTING BUGS
  51. Please report any encountered bugs on Kosmorro's [GitHub project](https://github.com/Deuchnord/kosmorro).
  52. ## COPYRIGHT
  53. 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.