Skip to content

Tokens

Type: string

Represent tokens that the Orbital runtime replaces in configuration keys.

Available Tokens

Name Description
PRETTY_NAME The formatted name of your CLI.
NAME The command-line usage name of your CLI.
VERSION The current distributed version of your CLI.

Usage

1
2
3
4
5
import { OrbitalConfiguration, PRETTY_NAME } from '@orbital/core';

export const config: OrbitalConfiguration = {
    loggerPretix: 'Logger: ' + PRETTY_NAME
}