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

kosmorro.1.md 2.5 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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).
  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; LaTeX 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. ## 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.