Skip to content

Command‐Line Help

David Población Criado edited this page Feb 1, 2024 · 1 revision

nasa-wallpaper is a shell program which allows users to change the desktop wallpaper with NASA photographs. If there are more than one photo with the given options, it will choose a random one.

Usage: nasa-wallpaper [COMMAND]

Commands:

  • apod, -a, --apod: Get the APOD (Astronomical Picture of the Day)
  • nasa_image, -n, --nasa_image: Get a random image from the NASA Image library (http://images.nasa.gov) with the parameters provided
  • unsplash, -u, --unsplash: Get a random image from the NASA's account in Unsplash (https://unsplash.com/@nasa)
  • license, --license
  • help: Print this message or the help of the given subcommand(s)

Options:

  • -h, --help: Print help
  • -V, --version: Print version

Commands

Usage: nasa-wallpaper {apod|--apod|-a} [OPTIONS]

Options:

  • -d, --date <DATE>: Download the APOD from other date than today
  • -k, --key <API_KEY>: Change the demo API key. You can get one in https://api.nasa.gov/
  • -l, --low: Use the low definition image. It is faster than the HD photo
  • -h, --help: Print help

Get an image from the NASA Image Library

Usage: nasa-wallpaper {nasa_image|--nasa_image|-n} [OPTIONS]

Options:

  • -q, --query <Q>: Free text search terms to compare to all indexed metadata
  • -c, --center <CENTER>: NASA center which published the media
  • -o, --location <LOCATION>: Terms to search for in “Location” fields
  • -i, --nasa_id <NASA_ID>: The media asset’s NASA ID
  • -p, --phtographer <PHOTOGRAPHER>: The primary photographer’s name
  • -t, --title <TITLE>: Terms to search for in “Title” fields
  • --year_start <YEAR_START>: The start year for results. Format: YYYY
  • --year_end <YEAR_END>: The end year for results. Format: YYYY --h, --help

Get a random image from the NASA's account in Unsplash

Usage: nasa-wallpaper {unsplash|--unsplash|-u}

Options: -h, --help: Print help