[Feature Request] siad profile flag update
FEATURE REQUEST
Description of Request
Update the profile flag string to booleans like in siac.
Reason or Need for Feature
The following discussion from !4815 (merged) should be addressed:
-
@m-cat started a discussion: (+3 comments) Why not just store the flags as booleans in the config, access them with e.g.
config.Siad.ProfileCPU
, and dispense with the string parsing/validating entirely?
Design / Proposal
Siac was recently updated to accept flags for the profile command like -cmt
. Siad could be updated in the same way so that instead of users submitting --profile=cmt
they could simply submit -cmt
.