mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
launch -> run
This commit is contained in:
@@ -35,10 +35,10 @@ If not, the first run of `pear` will fetch the platform from peers, after which
|
|||||||
To check that Pear is fully working, try the following command:
|
To check that Pear is fully working, try the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
pear launch keet
|
pear run keet
|
||||||
```
|
```
|
||||||
|
|
||||||
Pear loads applications from peers, so this command should launch [Keet](https://keet.io) whether or not it was downloaded and installed beforehand.
|
Pear loads applications from peers, so this command should open [Keet](https://keet.io) whether or not it was downloaded and installed beforehand.
|
||||||
|
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ In development, `pear://dev/<data>`.
|
|||||||
**References**
|
**References**
|
||||||
* [Pear.config.link](#pearconfiglinkdata-string)
|
* [Pear.config.link](#pearconfiglinkdata-string)
|
||||||
* [`pear dev`](./cli.md)
|
* [`pear dev`](./cli.md)
|
||||||
* [`pear launch`](./cli.md)
|
* [`pear run`](./cli.md)
|
||||||
|
|
||||||
### `Pear.config.linkData <String>`
|
### `Pear.config.linkData <String>`
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ In development, `pear://dev/<data>`.
|
|||||||
|
|
||||||
* [Pear.config.link](#pearconfiglink-string)
|
* [Pear.config.link](#pearconfiglink-string)
|
||||||
* [`pear dev`](./cli.md)
|
* [`pear dev`](./cli.md)
|
||||||
* [`pear launch`](./cli.md)
|
* [`pear run`](./cli.md)
|
||||||
|
|
||||||
|
|
||||||
### `Pear.config.checkpoint <Any>`
|
### `Pear.config.checkpoint <Any>`
|
||||||
@@ -327,7 +327,7 @@ Captures available desktop sources. Resolves to an array of objects with shape `
|
|||||||
|
|
||||||
Versions object. Pear versions are objects with the shape `{ fork <Integer>, length <Integer>, key <Buffer> }`.
|
Versions object. Pear versions are objects with the shape `{ fork <Integer>, length <Integer>, key <Buffer> }`.
|
||||||
|
|
||||||
The `key` is a Buffer of the launch key. The `length` is the size of the relevant Hypercore. The `fork` property is determined by data truncation.
|
The `key` is a Buffer of the run key. The `length` is the size of the relevant Hypercore. The `fork` property is determined by data truncation.
|
||||||
|
|
||||||
These three properties together are a unique identifier for the entire state of both applications and the Pear platform.
|
These three properties together are a unique identifier for the entire state of both applications and the Pear platform.
|
||||||
|
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ A Pear link takes the form: `pear://<key>/<data>`.
|
|||||||
The `<data>` portion of the link is available as `pear.config.linkData`.
|
The `<data>` portion of the link is available as `pear.config.linkData`.
|
||||||
|
|
||||||
```
|
```
|
||||||
--no-watch Disable watch-reload
|
--link=url Simulate deep-link click open
|
||||||
--launch=key Launch an app in dev mode
|
--run=key Run app from key in dev mode
|
||||||
--link=url Simulate deep-link click open
|
--link=url Simulate deep-link click open
|
||||||
--store|-s=path Set the Application Storage path
|
--store|-s=path Set the Application Storage path
|
||||||
--tmp-store|-t Use a temporary Application Storage path
|
--tmp-store|-t Use a temporary Application Storage path
|
||||||
```
|
```
|
||||||
## pear stage <channel|key> [dir]
|
## pear stage <channel|key> [dir]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user