diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-09-08 17:08:14 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-09-08 17:08:14 +0200 |
commit | c332bcb195beab499f73e055797c9bc5c2866015 (patch) | |
tree | d3b36e289019bf157ad20bc3d1ab18f7278029fd /imagrc.toml | |
parent | e0e57ecdffb31067277a08c1ac372dcb1eadd07b (diff) |
Implement aliases for imag binary
Diffstat (limited to 'imagrc.toml')
-rw-r--r-- | imagrc.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/imagrc.toml b/imagrc.toml index 955f5238..0c6a90a7 100644 --- a/imagrc.toml +++ b/imagrc.toml @@ -1,6 +1,20 @@ # This is a example configuration file for the imag suite. # It is written in TOML +# The alias section +# +# In this section one can define aliases for imag subcommands. +# +# E.G: An alias `store = [ "s", "st" ]` allows the user to call `imag s` or +# `imag st` for calling `imag store`. +# +# The aliases have to be either a single string or an array of strings, where no +# string contains whitespace (thus, aliasing a "store-create" call to "sc" for +# example is not supported). +# +[imag.aliases] +store = [ "s", "st" ] + [imag.logging] level = "debug" destinations = [ "-" ] |