oeg-upm / soca

Software Catalog Creator. A repository that given an organization URL, it will create a software catalog for browsing all repositories
Apache License 2.0
12 stars 5 forks source link

Allow customizing title and logo #64

Closed dgarijo closed 2 years ago

dgarijo commented 2 years ago

If soca is supposed to create software catalogs for different organizations, the title and logo on top should be customizable.

Probably having a config file would be the easiest way of doing this

dakixr commented 2 years ago

The title is already customizable using the flag -title when executing soca portal. See below:

❯ soca portal -h
Usage: soca portal [OPTIONS]

  Build a portal with a minimalist design

Options:
  -i, --input <dir-json-metadata>
                                  Dir repositories metadata in json format
                                  [required]
  -o, --output <path>             Dir where Software Catalog Portal will be
                                  saved  [default: portal]
  -t, --title <title>             Portal's title  [default: Software Catalog]
  -h, --help                      Show this message and exit.

To be consistent I think it should be just another flag, like -> --favicon, -fi

dgarijo commented 2 years ago

Awesome