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
fmt.Println(align("products -id <market-id> [-category <category> -search <query>] [-page <page>] [-perPage <productsPerPage>]") +"\n"+align("") +"Get products from a category or by query")
32
34
fmt.Println("\nSubcommand-Flags:")
33
35
fmt.Println(align("-query <query>") +"Search query. Can be a city, postal code, street, etc.")
34
36
fmt.Println(align("-id <market-id>") +"ID of the market or discount. Get it from marketsearch.")
35
37
fmt.Println(align("-raw") +"Whether you want raw output format (directly from the API) or parsed.")
36
-
fmt.Println(align("-catGroup") +"Group by product category instead of rewe-app-category")
38
+
fmt.Println(align("-catGroup") +"Group by product category instead of rewe-app category")
39
+
fmt.Println(align("-printAll") +"Print all available product categories (very many)")
40
+
fmt.Println(align("-category <category>") +"The slug of the category to fetch the products from")
41
+
fmt.Println(align("-search <query>") +"Search query for products. Can be any term or EANs for example")
42
+
fmt.Println(align("-page <page>") +"Page number for pagination. Starts at 1, default 1. The amount of available pages is included in the output")
43
+
fmt.Println(align("-perPage <productsPerPage>") +"Number of products per page. Default 30")
fmt.Println("Expected 'marketsearch', 'marketdetails', 'coupons', 'recalls' or 'discounts' subcommands")
208
+
fmt.Println("Expected one of the following subcommands:\n- marketsearch\n- marketdetails\n- coupons\n- recalls\n- discounts\n- categories\n- products")
0 commit comments