Open tiffany352 opened 4 years ago
Add a new command define {name} {expr}. Probably also undef {name} and list-defs as well. They'll need to be mentioned in the manual.
define {name} {expr}
undef {name}
list-defs
Units should be saved to the config directory and be stored in json format (DefEntry's Serialize/Deserialize impl).
Editing the file directly should let you use additional functionality like defining new substances, categories, base units, prefixes.
Add a new command
define {name} {expr}
. Probably alsoundef {name}
andlist-defs
as well. They'll need to be mentioned in the manual.Units should be saved to the config directory and be stored in json format (DefEntry's Serialize/Deserialize impl).
Editing the file directly should let you use additional functionality like defining new substances, categories, base units, prefixes.