Closed cernyd closed 3 years ago
@cernyd Interesting idea but I don't think this feature is really fundamental or necessary for usage of this... and because I want to keep this repo as far from the usage as possible I am not liking the thought of merging this... if you have any good points about this feature please do comment. Will close PR in 14 days if no comment will be provided.
Added a feature for url shortcuts, instead of supplying the full
url
, a shortcut name can now be supplied.Example configuration: config.toml:
If you now call the program with the URL argument
D105
, the shortcut name will be substituted by the shortcut valueexample_url
, if no shortcut is found, the original argument will be used.Just remember not to accidentally push non-public urls.