urectl
v0.1.0
Published
Rating Engine: Command Line Interface
Downloads
6
Readme
Pre-install
npm install -g shx# // Valuable
node ./bin/run entity valuable add
# > response: valuable table
node ./bin/run entity valuable attribute set \
[valuable-id] \
[attribute-code] \
[definition-category] \
[relation-category] \
[value-category] \
(--value [some-code]) \
(--dictionary [some-code] --entry [some-code]) \
(--measure [some-code] --unit [unit-of-measure-code])
# > response: valuable attribute table
# // Attribute
node ./bin/run entity attribute add [some-code] [category]
# > response: attribute table
# // Attribute group
node ./bin/run entity attribute-group add [some-code]
# > response: attribute group table
# // Attribute group attribute
node ./bin/run entity attribute-group-attribute add [some-attribute-code] [some-group-code]
# > response: attribute group attribute table
node ./bin/run entity attribute-group-attribute delete [code]
# > response: attribute group attribute table
# // Attribute group attribute group
node ./bin/run entity attribute-group-attribute-group add [parent-group-code] [child-group-code]
# > response: attribute group attribute table
node ./bin/run entity attribute-group-attribute-group delete [code]
# > response: attribute group attribute table
# // Dictionary
node ./bin/run entity dictionary add [some-code]
# > response: dictionary table
node ./bin/run entity dictionary entry add [dictionary-id] [some-code] [some-value]
# > response: dictionary entry table
node ./bin/run entity dictionary entry delete [code]
# > response: dictionary entry table
# // Unit Of Measure
node ./bin/run entity unit-of-measure add [some-code] [category]
# > response: unit-of-measure table
node ./bin/run entity unit-of-measure delete [code]
# > response: unit-of-measure table
# // Offer management
node ./bin/run entity selection-algorithm list
# > response: selection-algorithm table
node ./bin/run entity application-algorithm list
# > response: application-algorithm table
node ./bin/run entity calculation-algorithm list
# > response: calculation-algorithm table
node ./bin/run entity offer list
# > response: offer table
# // Rating engine
node ./bin/run entity u-re list
# > response: u-re table
# // Unit type
node ./bin/run entity unit-type add [some-code] [category]
# > response: unit-type table
# >
# // Requirement type
node ./bin/run entity requirement-type add [some-code]
# > response: requirement-type table
# // Specification unit
node ./bin/run entity specification-unit add [unit-type-code] [reference]
# > response: specification-unit table
# // Specification
node ./bin/run entity specification list
# > response: specification table
node ./bin/run entity specification add [reference] [category]
# > response: specification table
# // Specification Requirement
node ./bin/run entity specification-requirement add [reference] [specification-id] [requirement-type-code] \
(--measure [some-float-value] --unit [unit-of-measure-code])
# > response: specification-requirement table
# // Specification Requirement Measure
node ./bin/run entity specification-requirement-measure add \
[specification-requirement-id] \
[some-float-value] \
[unit-of-measure-code]
# > response: specification-requirement-measure table
# // Specification Requirement Unit
node ./bin/run entity specification-requirement-unit add \
[specification-requirement-id] \
[requirement-type-unit-type-code] \
[unit-type-code] \
[specification-unit-id]
# > response: specification-requirement-unit table