Config¶
The command config is a useful command because it allows you to check the configuration settings’ values that your current papis session is using.
For example let’s say that you want to see which dir
setting your
current library is using (i.e., the directory or the dir that appears
in the definition of the library in the configuration file), then you
would simply do:
papis config dir
If you wanted to see which dir
the library books
has, for example
then you would do
papis -l books config dir
This works as well for default settings, i.e., settings that you have not
customized, for example the setting match-format
, you would check
it with
papis config match-format
> {doc[tags]}{doc.subfolder}{doc[title]}{doc[author]}{doc[year]}
You can find a list of all available settings in the configuration section.