CLI set of utilities to automate small common everyday tasks operated on strings, arrays and objects.
Orientated towards JavaScript and React development, and still on it's very early stages.
cargo install data-utility-belt
Nothing to see here yet.
Operations performed on arrays.
By default any array passed in will remove duplicate values.
$ data-utility-belt array "cli os os cli"
> cli, os
$ data-utility-belt array "
goal={goal} strategy={strategy} idealinfluencer={idealinfluencer}
" props_to_array
> goal, idealinfluencer, strategy
data-utility-belt array "
className,
entityType,
entityId,
childType,
childKey,
chatContext,
counts,
" array_to_props
> chatContext={chatContext}
childKey={childKey}
childType'={childType'}
counts={counts}
entityId={entityId}
entityType={entityType}
cargo run -- object --difference "$(cat examples/a.json )" "$(cat examples/b.json )"