* Add `data` cli command & info about `apps` subcommand
* Add `pear reset` cli command for resetting a Pear application
Added a warning in the description as the command can result in lost
data and users should be cautious when using it.
* Remove leading spaces for `data` command flags
* Add note about dumping paths from `pear://` links in `dump` command
* Add `Pear.tray()` to Pear API docs
* Add supported formats for tray icon
* Remove `--unsafe-clear-preferences` from `pear run` cli doc
* Add `pear.gui.name` config option
* Edit new documentation for grammar & formatting
* Clarify `pear.gui.name` is an override & doesnt have a default
* Remove using "you" in `pear dump` doc & Correct grammar in `Pear.tray()`
Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>
* Reword `pear reset` to make warning explicit
* Add note about hidden app issues when linux doesn't support `Pear.tray()`
---------
Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>
* Add `pear.gui.hideable` configuration option
Added in Pear v1.10.0
* Add note about platform specific `gui` options
* Tweak platform list text to show connection w/ header
* Clean up line breaks in gui platform config section
* Remove platforms not supported by electron in GUI config section
* Add `Pear.badge(count)` documentation
Picked `null` to be the documented way to display a plain dot given it
coerces to `0`, so passes the `Number.isInteger(count)` check, and has
the same behavior in plain electron.
* Add `pear.stage.prefetch` to Application Configuration
* Update `stage` subcommand help output
The `truncate` was added since
https://github.com/holepunchto/pear/commit/85892a6a#diff-c218df6a550b0f3a42a2879e83f3ce2281061a1e79123d2a6d610d62d5f63bd8R79
but was missing.
* Add `pear.userAgent` to Application Configuration
* Adjust info about warmup in the guides
* Clarify that `pear.userAgent` will not change Sidecar requests
* Remove `--` for app option passthrough
Changed since `paparam` was used for parsing command line options:
85892a6a32a84ae42a548f8e3ac0b5dbedd70c80
Now uses `cmd.rest` for app args.
* Use `Pear.config.args` for howto scripts
* Update "starting a pear desktop project" guide to match template
* Remove `--no-ask-trust` flag from `pear run` cli doc
This command was replaced by `--no-ask` which was already in the
documentation. Updated a reference to `--no-ask-trust` in the 'Sharing a
Pear Application' guide.
* Fix typos in "Releasing a Pear Application" guide
* Correct application storage folder name in hyperbee howto
* Add missing `test/index.test.js` in project structure for terminal guide
* Remove language about app continuing to run
This is no longer true at least as of pear:
v0.5114.pqbzjhqyonxprx8hghxexnmctw75mr91ewqw5dxe1zmntfyaddqy / v1.5.0
* Fix extra indention in example code for hypercore howto
* Format json in `_template.json` example
* Add instructions to set up a minimal `package.json` for testing template
Without this, the next step of `pear run --dev .` does not work since
`pear` expects a `package.json` file.
* Rename hyperbee reader app in hyperdrive howto to avoid name conflict
Naming only matters if someone is following the guides and starts each
guide from the same root directory. If they do, then `bee-reader-app`
from the hyperdrive conflicts with the `bee-reader-app` from the
hyperbee howto.
* Remove unrelated youtube tutorial from hyperswarm howto
* Update guide/creating-a-pear-init-template.md
Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>
* Fix spelling mistake
Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>
---------
Co-authored-by: David Mark Clements <huperekchunow@googlemail.com>
* Change `key` to `link` to match CLI functionality
CLI commands have changed to take the link format (`pear://<key>`)
instead of the key.
* Update guides to use `link` instead of `key` for CLI commands