windingtree / lpms-cli

🧑‍💻 Light Property Management System CLI (Command Line Utility)
GNU General Public License v3.0
0 stars 1 forks source link

feat: bulk image upload #27

Open mfw78 opened 2 years ago

mfw78 commented 2 years ago

Problem

When uploading the metadata, the URI, and therefore CID for any photos / images also needs to be set.

Solution

When uploading a facility level metadata, allow multiple --image command line options in lpms-cli, then have all these images upload to IPFS, get the cid, then insert this in-line in the facility level metadata before it's pushed to lpms-server and onto IPFS.

The same workflow above can be done when pushing space level metadata.

valera-rozuvan commented 2 years ago

Moving this issue to lpms-cli repo.