Skip to content

Latest commit

 

History

History
117 lines (105 loc) · 7.05 KB

index.md

File metadata and controls

117 lines (105 loc) · 7.05 KB

mops command reference

Generated from the mops command line by ./gradlew :cli:updateReference. Do not edit this page.

Commands

  • mops find: Search editable MPS project sources or loaded concept hierarchies.
  • mops get: Get MPS project data.
  • mops render: Render MPS project data.
  • mops edit: Edit MPS project data.
  • mops check: Run MPS checks.
  • mops make: Generate and compile modules or the whole project.
  • mops create: Create a project module or model.
  • mops diagnose: Diagnose how the daemon loaded the MPS project.
  • mops daemon: Inspect or control mops daemon processes.
  • mops code: Run trusted Groovy against an open MPS project.
  • mops test: Build and run MPS tests in a separate process.
  • mops list: List an MPS navigation target as a bounded tree.
  • mops wrapper: Write a project-local mops wrapper using Gradle-discovered paths.
  • mops skill: Locate bundled agent skills.
  • mops explain: Explain mops notations such as node references and edit batches.
  • mops examples: Read bundled task recipes without starting MPS.

mops

The global options listed here are accepted by every command. The command pages leave them out of their help output.

Usage: mops [-hV] [COMMAND]
Kotlin CLI for the daemon-backed MPS prototype.
Commands:
  find      Search editable MPS project sources or loaded concept hierarchies.
  get       Get MPS project data.
  render    Render MPS project data.
  edit      Edit MPS project data.
  check     Run MPS checks.
  make      Generate and compile modules or the whole project.
  create    Create a project module or model.
  diagnose  Diagnose how the daemon loaded the MPS project.
  daemon    Inspect or control mops daemon processes.
  code      Run trusted Groovy against an open MPS project.
  test      Build and run MPS tests in a separate process.
  list, ls  List an MPS navigation target as a bounded tree.
  wrapper   Write a project-local mops wrapper using Gradle-discovered paths.
  skill     Locate bundled agent skills.
  explain   Explain mops notations such as node references and edit batches.
  examples  Read bundled task recipes without starting MPS.
  help      Display help information about the specified command.
Options:
  -h, --help                Show this help message and exit.
  -V, --version             Print version information and exit.
Global options:
      --daemon-home=PATH    Daemon home used by daemon-backed commands.
      --java-home=PATH      Java home used to start daemon-backed commands.
      --macro=NAME=PATH     Path macro for MPS, such as one used as ${NAME} in
                              .mps/libraries.xml or .mps/modules.xml;
                              repeatable. $PROJECT_DIR$ needs no path macro. A
                              running daemon started with other path macros is
                              not reused. See mops wrapper --help.
      --mps-home=PATH       MPS home used by daemon-backed commands.
      --project-root=PATH   Explicit MPS project root, absolute or relative to
                              the directory where mops was started. Overrides
                              upward inference from the working directory.
      --refs-as-urls        Render node references as MPS URLs in text output;
                              JSON output is unchanged.

Global options can appear before, between, or after command names; command
options belong after their command name. mops explain output describes how
output separates results, metadata, and diagnostics.

Start with mops examples for task recipes; mops examples editing helps choose
an editing approach.

Notations

Skills and task recipes