File tree Expand file tree Collapse file tree 2 files changed +44
-10
lines changed
Expand file tree Collapse file tree 2 files changed +44
-10
lines changed Original file line number Diff line number Diff line change 22
331 . Install Chrome Web Driver
44
5- ArchLinux:
5+ ** RedHat/CentOS:**
6+
7+ ``` shell
8+ yum -y install chromedriver
9+ ```
10+
11+ ** ArchLinux:**
612
713 ` ` ` shell
814 paru -S chromedriver
915 ` ` `
1016
11- For other OS check [official download page](https://chromedriver.chromium.org/downloads).
17+ For other OS check [official download page](https://chromedriver.chromium.org/downloads).
1218
13192. Install chrome
1420
1723 ` ` ` shell
1824 paru -S google-chrome
1925 ` ` `
20-
21- 3. Run chrome-driver
26+
27+ 3. Add permission:
28+
29+ ` ` ` shell
30+ chmod +x spt
31+ ` ` `
32+
33+ 4. Run chrome-driver
2234
2335 ` ` ` shell
2436 $ chromedriver
Original file line number Diff line number Diff line change 11# How to use
22
3- ## 1. Set permissions
3+ ## 0. Prerequisites
4+
5+ [ Run chrome driver] ( docs/Install.md )
46
5- 1 . [ Install and run chrome driver ] ( docs/Install.md )
7+ ## 1. Set permissions
68
7- 2 . Prepare XML file for import
9+ 1 . Prepare XML file for import
810
911 Prepare ` import.xml ` file. You can override filename with ` --xml-file ` option.
1012
11- 3 . Prepare app config:
13+ 2 . Prepare app config:
1214
1315 ``` shell
1416 cp spt.yml-dist spt.yml
1517 ```
1618
1719 Edit and put valid credentials, tokens, etc.
1820
19- 4 . Run:
21+ 3 . Run:
2022
2123 ` ` ` shell
22- chmod +x spt
2324 ./spt set
2425 ` ` `
26+
27+ # # 2. Get empty permissions
28+
29+ Run:
30+
31+ ` ` ` shell
32+ ./spt get-empty
33+ ` ` `
34+
35+ Example output:
36+
37+ ` ` ` json
38+ [
39+ {
40+ " name" : " i.petrov" ,
41+ " login" : " Ivan Petrov" ,
42+ " client" : " AppStore" ,
43+ " category" : " Frogs Ltd"
44+ }
45+ ]
46+ ` ` `
You can’t perform that action at this time.
0 commit comments