Command-Line-Interface (CLI)
experimental
The Command Line Interface is the primary interface for Pear Development.
pear init [dir]
pear init [dir]
Create initial project files.
pear dev [flags] [dir] [...app-args]
pear dev [flags] [dir] [...app-args]
Run a project in development mode from disk.
Alias for: pear run --dev <dir>
pear stage <channel|key> [dir]
pear stage <channel|key> [dir]
Synchronize local changes to key.
Channel name must be specified on first stage, in order to generate the initial key.
Outputs diff information and project key.
pear seed <channel|key> [dir]
pear seed <channel|key> [dir]
Seed project or reseed key.
Specify channel or key to seed a project.
Specify a remote key to reseed.
pear run [flags] <key|dir|alias> [...app-args]
pear run [flags] <key|dir|alias> [...app-args]
Run an application from a key or dir.
key |
|
dir |
|
alias |
|
Examples
pear release <channel|key> [dir]
pear release <channel|key> [dir]
Set production release version.
Set the release pointer against a version (default latest).
Use this to indicate production release points.
pear info [channel|key]
pear info [channel|key]
Read project information.
Supply a key or channel to view application information.
Supply no argument to view platform information.
pear dump <key> [dir]
pear dump <key> [dir]
Synchronize files from key to dir.
pear sidecar
pear sidecar
The Pear Sidecar is a local-running HTTP and IPC server which provides access to corestores.
This command instructs any existing sidecar process to shutdown and then becomes the sidecar.
pear versions
pear versions
Output version information.
pear shift <src-key> <dst-key> [--force]
pear shift <src-key> <dst-key> [--force]
Move user application storage between applications.
pear gc [flags] [command]
pear gc [flags] [command]
Perform garbage collection and remove unused resources.
Commands | Description |
---|---|
releases | Clear inactive releases |
sidecars | Clear running sidecars |
Last updated