26 lines
472 B
Verilog
26 lines
472 B
Verilog
module paramsparser
|
|
|
|
// import freeflowuniverse.herolib.data.jsonschema
|
|
|
|
// pub struct ParamsPub {
|
|
// pub mut:
|
|
// params []Param
|
|
// args []string //are commands without key/val, best not to use
|
|
// }
|
|
|
|
// pub struct ParamPub {
|
|
// pub:
|
|
// key string
|
|
// value string
|
|
// }
|
|
|
|
// pub fn (mut params Params) json_schema() jsonschema.Schema {
|
|
// return jsonschema.Schema {
|
|
|
|
// }
|
|
// }
|
|
|
|
// pub fn json_import(data string) !Params {
|
|
// return json.decode(Params, data)
|
|
// }
|