Module shell

Module shell 

Source
Expand description

Contains the code rendering the shell script that’s used for structured attrs.

Statics§

RE_SH_VAR_NAME 🔒

Functions§

is_good_simple_value 🔒
determine if the value is “good to print”. We essentially want to reject floats which are not just integers.
write_attrs_sh_file
for a given json map, write the file contents of the to-be-sourced bash script. Cf. writeStructuredAttrsShell in Cppnix.
write_shell_escaped_single_quoted 🔒
Writes an escaped version of the passed string to the writer.
write_simple_type 🔒