You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A seller publishes and edits listings from the terminal. item create takes title, description, price, category, condition, Location and one or more image files and returns the new Item's hash and URL; item edit HASH changes any of those fields on an existing listing. The listing is visible and correct on the web afterwards.
Acceptance criteria
item create with required flags and --image FILE... publishes a listing that appears in me items and on the web with all images
Category-specific attributes (cars: brand, model, year...) are accepted through --attr key=value and validated against the category's attribute list
item edit changes title, description, price and images; unchanged fields stay as they were
Missing required fields are exit 2 with the list of what is missing
Endpoints and upload headers verified live; fake server mirrors them, including the image upload
Activity
feat: create and edit own listings with images (#9) (#19)