Skip to content

Latest commit

 

History

History
186 lines (118 loc) · 2.75 KB

File metadata and controls

186 lines (118 loc) · 2.75 KB

Erasmus CLI Command Reference

This document provides a comprehensive reference for all Erasmus CLI commands, arguments, and usage patterns.


Top-Level Commands

  • erasmus context — Manage development contexts and their files
  • erasmus protocol — Manage development protocols
  • erasmus setup — Setup Erasmus: initialize project, environment, and context
  • erasmus watch — Watch for .ctx file changes and update the IDE rules file automatically
  • erasmus status — Show the current Erasmus context and protocol status
  • erasmus version — Show the Erasmus version

Context Commands

List all contexts

erasmus context list

Create a new context

erasmus context create [NAME]
  • Prompts for a name if not provided.

Show context details

erasmus context show [NAME]
  • Prompts for a context if not provided.

Update context files

erasmus context update [NAME] [FILE_TYPE] [CONTENT]
  • FILE_TYPE can be: architecture, progress, tasks, protocol

Edit context files

erasmus context edit [NAME] [FILE_TYPE] [EDITOR]

Store the current context

erasmus context store

Select and load a context interactively

erasmus context select

Load a context by name to root .ctx XML files

erasmus context load [NAME]

Delete a context

erasmus context delete [NAME]
  • Prompts for a context if not provided.

Protocol Commands

List all protocols

erasmus protocol list

Create a new protocol

erasmus protocol create [NAME] [CONTENT]
  • Prompts for name/content if not provided.

Show protocol details

erasmus protocol show [NAME]
  • Prompts for a protocol if not provided.

Update a protocol

erasmus protocol update [NAME] [CONTENT]

Edit a protocol

erasmus protocol edit [NAME] [EDITOR]

Delete a protocol

erasmus protocol delete [NAME]
  • Prompts for a protocol if not provided.

Select and display a protocol

erasmus protocol select

Load a protocol as active

erasmus protocol load [NAME]

Setup Command

Interactive setup for Erasmus

erasmus setup
  • Guides you through IDE detection, project creation, context and protocol setup.

Other Top-Level Commands

Watch for .ctx file changes

erasmus watch
  • Watches for changes and updates IDE rules files automatically.

Show current status

erasmus status
  • Displays current context, available contexts, and protocols.

Show Erasmus version

erasmus version

Help

For more information about a command, run:

erasmus <command> --help