@@ -87,7 +87,7 @@ Application storage path.
87
87
88
88
### ` Pear.config.args <Array> `
89
89
90
- Command-line application arguments passed like ` pear dev . --some arg ` .
90
+ Command-line application arguments passed like ` pear run -- dev . --some arg ` .
91
91
92
92
### ` Pear.config.release <Number> `
93
93
@@ -99,13 +99,12 @@ The current release length as marked by the `pear release` command.
99
99
100
100
### ` Pear.config.link <String> `
101
101
102
- The Pear link of an application. Takes the form ` pear://<key>/<data> ` .
102
+ Pear application link. Can be a ` pear:// ` link or a local directory .
103
103
104
- In development, ` pear://dev/<data> ` .
104
+ Can include a fragment link eg. ` pear://link#fragment ` .
105
105
106
106
** References**
107
107
* [ Pear.config.linkData] ( #pearconfiglinkdata-string )
108
- * [ ` pear dev ` ] ( ./cli.md )
109
108
* [ ` pear run ` ] ( ./cli.md )
110
109
111
110
### ` Pear.config.links <Object|Array> `
@@ -114,7 +113,6 @@ Holds trusted Pear application links and domains as specified in the `links` fie
114
113
115
114
** References**
116
115
* [ pear.links] ( ./configuration.md#pearlinks-objectarray )
117
- * [ ` pear dev ` ] ( ./cli.md )
118
116
* [ ` pear run ` ] ( ./cli.md )
119
117
120
118
### ` Pear.config.linkData <String> `
@@ -128,7 +126,6 @@ In development, `pear://dev/<data>`.
128
126
** References**
129
127
130
128
* [ Pear.config.link] ( #pearconfiglink-string )
131
- * [ ` pear dev ` ] ( ./cli.md )
132
129
* [ ` pear run ` ] ( ./cli.md )
133
130
134
131
@@ -154,6 +151,23 @@ Application release sequence integer, `null` in development mode.
154
151
155
152
Parsed runtime flags. For internal/advanced use.
156
153
154
+ ### ` Pear.config.applink <String> `
155
+
156
+ Pear application link. May be a ` pear:// ` link or a local directory.
157
+ Can also include entrypoint and fragment eg. ` pear://link#fragment ` .
158
+
159
+ ### ` Pear.config.dependencies <Object> `
160
+
161
+ Application dependencies.
162
+
163
+ ### ` Pear.config.dir <String> `
164
+
165
+ Root directory of project.
166
+
167
+ ### ` Pear.config.pearDir <String> `
168
+
169
+ Directory for Pear runtime.
170
+
157
171
## ` Pear.checkpoint(<Any>) => Promise `
158
172
159
173
Stores state that will be available as ` Pear.config.checkpoint ` next time the application starts.
@@ -166,6 +180,7 @@ The returned `Promise` will resolve once the checkpoint has been successfully st
166
180
167
181
* [ Pear.config.checkpoint()] ( #pear--config-checkpoint-any )
168
182
183
+
169
184
## Pear.messages([ pattern ] , [ listener ] ) -> Iterable
170
185
171
186
A function which accepts a pattern object and returns an [ ` Iambus ` ] ( https://github.com/holepunchto/iambus ) subscriber (which inherits from [ ` streamx ` ] ( https://github.com/mafintosh/streamx ) ` Readable ` ) which emits message objects matching a provided pattern object.
0 commit comments