Closed njdaniel closed 3 years ago
Issues:
use "generate" or "create"?
Updating new example:
$ dnd store --help
Available commands:
- create
- store-types
$ dnd store create --help
Flags:
--name
--store-type
$ dnd store store-types
Armorer
Fletcher
Weaponsmith
Bowyer
This issue can be split into smaller issues: [ ] dnd store store-types [ ] dnd store create --store-type fletcher [ ] dnd store create --store-type armorer [ ] dnd store create --store-type weaponsmith
Feature: create store from command line. A store of a certain type will create an inventory(item, price, quantity)
Based on type of store create inventory from data, add random supply depending on type of item.
ex. dnd create store --type
ex3. dnd create store --type=blacksmith Greatsword 2gp 2 longsword 1gp 4 chainmail 6gp 3
ex4. dnd create store --type=fletcher iron arrows 1cp 100 steel arrows 5cp 50 longbow 6gp 3 shortbow 3gp 6 heavy crossbow 4gp 2 bolts 1cp 200
Optional/future: -save store. Be able to come back with same items from same store. -update store, using current items, update supply to simulate a day -edit store supply eg dnd edit store --name=Bob's Bakes --item=bread -1