From e6d178f1e56fc879ad3343fd0c6b5de29eee8698 Mon Sep 17 00:00:00 2001 From: Simon Segerblom Rex Date: Mon, 20 May 2019 19:45:59 +0200 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 319f6d5..0ac68db 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,30 @@ pdflayers ========= -**pdflayers** is a tool for changing default visibility of PDF layers (OCGS, Optional Content Groups). +**pdflayers** is a tool for changing default visibility of PDF layers +(OCGs, Optional Content Groups). Installation ------------ -Currently **pdflayers** just consists of a simple python script, so you manually have to install the dependencies: ```shell -python3 -m pip install --user pikepdf +python3 -m pip install --user https://github.com/SimonSegerblomRex/pdflayers ``` Usage ----- ``` -python3 pdflayers.py --show +pdflayers --show ``` + +or + +``` +python -m pdflayers --show +``` + +Acknowledgements +---------------- + +[pikepdf](https://github.com/pikepdf/pikepdf) is doing most of the work.