oclif: The Open CLI Framework
  • Getting Started
  • API Reference
  • Blog
  • GitHub

›API Reference

Getting Started

  • Introduction
  • Features
  • FAQs
  • Generator Commands

Architecture

  • Command Execution
  • Plugin Loading

API Reference

  • Commands
  • Command Arguments
  • Command Flags
  • Configuration
  • Topics
  • Topic Separators
  • Hooks
  • Plugins
  • Help Classes
  • Error Handling
  • JSON

How to

  • Release
  • Testing
  • Running Commands Programmatically
  • Aliases
  • Custom Base Class
  • Prompting
  • Spinner
  • Table
  • Notifications
  • Debugging
  • Flexible Taxonomy
  • Global Flags
  • Single Command CLI
  • ESM

Also See

  • Examples
  • External Links
  • Related Repositories
  • How We Work
  • Feedback
Edit

Topic Separators

By default, topics will be separated with colons, e.g. my:awesome:command. However, you have the option to use spaces if you prefer, e.g. my awesome command.

To do this, simply set the topicSeparator property in the oclif section of your package.json

{
  "oclif": {
    "topicSeparator": " "
  }
}

Currently colons (":") and spaces (" ") are the only supported topic separators.

Last updated on 2/22/2023
← TopicsHooks →
Made with 💜 by Salesforce — MIT License