flam config list

usage: flam config list [-h] [-E | -D | -P] [-n NEW_NAME] [-i {yes,no,auto}]
                        [-e {yes,no,auto}] [-p PARAM=VALUE] [-d PARAM]
                        [NAME] [LISTDEF]

View, add, edit, or remove lists.
Once configured, lists can be easily used by their name in other commands like `flam fetch`, `flam find`.

Read more about lists: https://verpous.github.io/film-flam/lists.html.

positional arguments:
  NAME                  Operate on the list named NAME.
  LISTDEF               In --edit, set the list type and address to LISTDEF.

options:
  -h, --help            show this help message and exit
  -E, --edit            Edit or create the list NAME. The default if NAME is provided.
  -D, --delete          Delete the list named NAME.
  -P, --print           Print the list NAME, or if NAME not provided, print all lists. The default if NAME is not provided.
  -n NEW_NAME, --rename NEW_NAME
                        In --edit, rename the list to NEW_NAME.
  -i {yes,no,auto}, --default-find {yes,no,auto}
                        In --edit, decide if the list should be default for `flam find`.
  -e {yes,no,auto}, --default-fetch {yes,no,auto}
                        In --edit, decide if the list should be default for `flam fetch`.
  -p PARAM=VALUE, --fetch-param PARAM=VALUE
                        In --edit, set a parameter for controlling how this list is fetched.
  -d PARAM, --delete-param PARAM
                        In --edit, delete a parameter configured with --fetch-param ('*' to delete all).

Examples:
    flam config list mylist imdb-listid=083886771
        (Create a list 'mylist'. It's a local copy of the IMDb list '083886771' - https://www.imdb.com/list/ls083886771/)
    flam config list mylist --default-fetch=yes --default-find=yes
        (Modify 'mylist' to be default for fetch and find, so `flam fetch`, `flam find` with no arguments will use this list)
    flam config list
        (Print all lists)
    flam config list --rename ourlist mylist
        (Rename 'mylist' to 'ourlist')
    flam config list --delete ourlist
        (Delete 'ourlist')