add link
Add a new Link to the config
Usage: hermitgrab add link [OPTIONS] <SOURCE>
Arguments:
<SOURCE>
Source file or directory to link
Options:
--config-dir <CONFIG_DIR>
Subdirectory of the hermit.toml file to add the link to
-l, --link-type <LINK_TYPE>
Link type to use
[default: soft]
[possible values: soft, hard, copy]
-t, --target <TARGET>
Target path for the link, 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
-f, --fallback <FALLBACK>
Fallback strategy in case the target already exists
[default: abort]
[possible values: abort, backup, backupoverwrite, delete, deletedir]
-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