add patch
Add a new Link to the config
Usage: hermitgrab add patch [OPTIONS] <SOURCE>
Arguments:
<SOURCE>
Source file to patch
Options:
--config-dir <CONFIG_DIR>
Subdirectory of the hermit.toml file to add the Patch to
-p, --patch-type <PATCH_TYPE>
Patch type to use
[default: JsonMerge]
[possible values: JsonMerge, JsonPatch]
-t, --target <TARGET>
Target path for the patch, if not specified, uses the source name
-r, --requires [<TAG>...]
Required tags to include in the link (can be specified multiple times). A tag can start with a + to indicate it is required or a - to indicate it has to be excluded when present
--provides [<TAG>...]
Provided tags in case a new config file will be created, i.e. target does not yet exist
-v, --verbose
Increase output verbosity
[env: HERMIT_VERBOSE=]
-y, --confirm
Don't ask for confirmation, assume yes is the answer
[env: HERMIT_CONFIRM=]
-c, --hermit-dir <PATH>
Path to the hermitgrab config directory If not set, defaults to ~/.hermitgrab
[env: HERMIT_DIR=]
-h, --help
Print help