Main¶
Examples¶
To override some configuration options, you can use the flag
--set
, for instance, if you want to override the editor used and the opentool to open documents, you can just typepapis --set editor gedit --set opentool firefox edit papis --set editor gedit --set opentool firefox open
If you want to list the libraries and pick one before sending a database query to papis, use
--pick-lib
as suchpapis --pick-lib open 'einstein relativity'
Cli¶
papis¶
papis [OPTIONS] COMMAND [ARGS]...
Options
-
-h
,
--help
¶
Show this message and exit.
-
--version
¶
Show the version and exit.
-
-v
,
--verbose
¶
Make the output verbose (equivalent to –log DEBUG)
-
--profile
<profile>
¶ Print profiling information into file
-
-l
,
--lib
<lib>
¶ Choose a library name or library path (unnamed library)
-
-c
,
--config
<config>
¶ Configuration file to use
-
--pick-lib
¶
Pick library to use
-
--cc
,
--clear-cache
¶
Clear cache of the library used
-
-s
,
--set
<set_list>
¶ Set key value, e.g., –set info-name information.yaml –set opentool evince
-
--color
<color>
¶ Prevent the output from having color
- Options
always | auto | no
-
--log
<log>
¶ Logging level
- Options
INFO | DEBUG | WARNING | ERROR | CRITICAL
-
--logfile
<logfile>
¶ File to dump the log
-
--np
<np>
¶ Use number of processors for multicore functionalities in papis