mirror of
https://github.com/samsonjs/mojo.el.git
synced 2026-03-25 09:25:49 +00:00
127 lines
No EOL
2.8 KiB
Text
127 lines
No EOL
2.8 KiB
Text
The complete command list:
|
|
|
|
Code generation
|
|
---------------
|
|
|
|
mojo-generate
|
|
Generate a new Mojo application in the mojo-project-directory.
|
|
|
|
mojo-generate-scene
|
|
Generate a new Mojo scene for the application found by mojo-root.
|
|
(a.k.a. the current application)
|
|
|
|
|
|
Packaging and device/emulator interactions
|
|
------------------------------------------
|
|
|
|
mojo-emulate
|
|
Launch the palm emulator.
|
|
|
|
mojo-package
|
|
Package the specified application (defaults to current app id).
|
|
|
|
mojo-install
|
|
Install the specified package (defaults to current app id).
|
|
The emulator needs to be running.
|
|
|
|
mojo-list
|
|
List all installed packages.
|
|
|
|
mojo-delete
|
|
Remove the specified application. (defaults to current app id)
|
|
|
|
mojo-launch
|
|
Launch the specified application in the emulator. (defaults to
|
|
current app id)
|
|
|
|
mojo-close
|
|
Close specified application. (defaults to current app id)
|
|
|
|
mojo-inspect
|
|
Run the dom inspector on the specified application. (defaults to
|
|
current app id)
|
|
|
|
mojo-hard-reset
|
|
Perform a hard reset, clearing all data.
|
|
|
|
mojo-package-install-and-launch
|
|
Package, install, and launch the current app.
|
|
|
|
mojo-package-install-and-inspect
|
|
Package, install, and launch the current app for inspection.
|
|
|
|
mojo-target-device
|
|
Set the target device to USB.
|
|
|
|
mojo-target-emulator
|
|
Set the target device to the emulator.
|
|
|
|
mojo-toggle-target
|
|
Automatically change the target device from 'usb' to 'tcp' and vice
|
|
versa.
|
|
|
|
|
|
Quickly switch buffers
|
|
----------------------
|
|
|
|
mojo-switch-to-assistant
|
|
Switch to the corresponding assistant from any view file.
|
|
|
|
mojo-switch-to-view
|
|
Switch to the main view from an assistant.
|
|
|
|
mojo-switch-to-next-view
|
|
Switch to the next view file, alphabetically. Wraps around at the
|
|
end.
|
|
|
|
mojo-switch-to-appinfo
|
|
Switch to the appinfo.json file.
|
|
|
|
mojo-switch-to-sources
|
|
Switch to the sources.json file.
|
|
|
|
mojo-switch-to-index
|
|
Switch to the root index.html file.
|
|
|
|
mojo-switch-to-stylesheet
|
|
Switch to the main stylesheet.
|
|
|
|
|
|
Manage framework_config.json
|
|
----------------------------
|
|
|
|
mojo-debugging-enabled-p
|
|
See if debugging is enabled.
|
|
|
|
mojo-log-events-p
|
|
See if event logging is enabled.
|
|
|
|
mojo-timing-enabled-p
|
|
See if timing is enabled.
|
|
|
|
mojo-use-native-json-parser-p
|
|
See if the native JSON parser is used (if available).
|
|
|
|
mojo-log-level
|
|
See the log level.
|
|
|
|
mojo-html-escaped-in-templates-p
|
|
See if HTML is escaped in templates.
|
|
|
|
mojo-set-debugging-enabled
|
|
Enable or disable debugging.
|
|
|
|
mojo-set-log-events
|
|
Enable or disable event logging.
|
|
|
|
mojo-set-timing-enabled
|
|
Enable or disable timing.
|
|
|
|
mojo-set-use-native-json-parser
|
|
Enable or disable use of the native JSON parser.
|
|
|
|
mojo-set-log-level
|
|
Set the log level.
|
|
|
|
mojo-set-escape-html-in-templates
|
|
Enable or disable escaping of HTML in templates. |