@@ -91,14 +91,9 @@ In current path create project, update project and show project information
91
91
92
92
$ pyarmor init -p lib/src@joker
93
93
94
- .. option :: -r , --recursive {0 , 1 , 2 , 3}
94
+ .. option :: -r , --recursive
95
95
96
- How to search items in project src
97
-
98
- - 0: no search
99
- - 1: only search modules
100
- - 2: search modules and packages
101
- - 3: recursively search all modules and packages
96
+ Enable to search modules and packages in project src
102
97
103
98
.. option :: -C , --clean
104
99
@@ -108,11 +103,11 @@ In current path create project, update project and show project information
108
103
109
104
Create one project, add all scripts and packages in the current path to this project::
110
105
111
- $ pyarmor init -r 2
106
+ $ pyarmor init -r
112
107
113
108
If need exclude some files or paths::
114
109
115
- $ pyarmor init -r 2 --exclude venv --exclude "test*.py"
110
+ $ pyarmor init -r --exclude venv --exclude "test*.py"
116
111
117
112
If there has project in current path, this command could show project information::
118
113
@@ -136,19 +131,19 @@ All of these examples assume there is still no project in work path
136
131
137
132
1. Create one project which include all the scripts and packages in current path::
138
133
139
- $ pyarmor init -r 3
134
+ $ pyarmor init -r
140
135
141
136
2. Same as above, but not include path `venv ` and all scripts which start with `test `::
142
137
143
- $ pyarmor init -r 3 --exclude venv --exclude "test*.py"
138
+ $ pyarmor init -r --exclude venv --exclude "test*.py"
144
139
145
140
3. Update project src, :option: `-C ` is required to clean old project::
146
141
147
- $ pyarmor init -C --src another/src -r 3
142
+ $ pyarmor init -C --src another/src -r
148
143
149
144
4. Create one project which src is not current path::
150
145
151
- $ pyarmor init -s eke/src -r 2
146
+ $ pyarmor init -s eke/src -r
152
147
153
148
5. Create one project with only one script::
154
149
0 commit comments