@@ -6,13 +6,21 @@ I will lay out how to use the comamnd line!
66<details >
77 <summary >Jump to</summary >
88 <ul >
9- <li><a href='#importing-the-class'> Import the class</a></li>
10- <li><a href='#initializing-a-thread'> Initialize a thread </a></li>
11- <li><a href='#parameters'> Parameters </a></li>
12- <li><a href='#attributes'> Attributes </a></li>
13- <li><a href='#methods'> Class Methods </a></li>
14- <li><a href='#behviours'> Behaviours </a></li>
9+ <li><a href='#getting-started'> Getting Started </a></li>
10+ <li><a href='#log-levels'> Log Levels </a></li>
11+ <li><a href='#commands'> Commands </a></li>
12+ <details>
13+ <summary>List</summary>
14+ <ul>
15+ <li><a href='#documentation-thread-docs'> thread docs </a></li>
16+ <li><a href='#help-thread-help'> thread help </a></li>
17+ <li><a href='#report-thread-report'> thread report </a></li>
18+ <li><a href='#configuration-thread-config'> thread config </a></li>
19+ <li><a href='#parallel-processing-thread-process'> thread process ... </a></li>
20+ </ul>
21+ </details>
1522 </ul >
23+
1624</details >
1725
1826
@@ -58,6 +66,9 @@ List of commands
5866
5967### Documentation (thread docs)
6068
69+ ``` sh
70+ $ thread docs
71+ ```
6172Ran with no arguments and options, this command will attempt to open your brower to this MD file!
6273<br />
6374If unable, will instead print out the link.
@@ -67,6 +78,9 @@ If unable, will instead print out the link.
6778
6879### Help (thread help)
6980
81+ ``` sh
82+ $ thread help
83+ ```
7084Ran with no arguments and options, this command will attempt to open your brower to the issue tracker!
7185<br />
7286If unable, will instead print out the link.
@@ -76,6 +90,9 @@ If unable, will instead print out the link.
7690
7791### Report (thread report)
7892
93+ ``` sh
94+ $ thread report
95+ ```
7996Ran with no arguments and options, this command will attempt to open your brower to this MD file!
8097<br />
8198If unable, will instead print out the link.
@@ -85,6 +102,9 @@ If unable, will instead print out the link.
85102
86103### Configuration (thread config ...)
87104
105+ ``` sh
106+ $ thread config
107+ ```
88108Comming soon.
89109
90110
@@ -93,7 +113,11 @@ Comming soon.
93113
94114### Parallel Processing (thread process ...)
95115
116+ ``` sh
117+ $ thread process
118+ ```
96119Invokes the [ parallel processing class] ( parallel-processing.md#importing-the-class ) <br />
120+ <br />
97121
98122> ** Help Command Output**
99123
@@ -107,14 +131,15 @@ $ thread process 'lambda x: x**2' '[ i for i in range(1000) ]'
107131$ thread process home.Downloads.clean_data:clean ./dataset.csv -t 20
108132=> The same as:
109133 from home.Downloads.clean_data import clean
110- dataset = open(' dataset.csv' , ' r' )
134+ dataset = open(' ./ dataset.csv' , ' r' )
111135
112136 newProcess = ParallelProcess(
113137 target = clean,
114138 dataset = dataset,
115139 max_threads = 20
116140 )
117141 newProcess.start ()
142+ dataset.close ()
118143
119144 prints or writes to file the result
120145```
0 commit comments