Exports shared constants for the Appium docs CLI, including file names and defaults.
// Source: https://github.com/appium/appium | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Constants used across various modules in this package
* @module
*/
import path from 'node:path';
import {fileURLToPath} from 'node:url';
import {LogLevels} from 'consola';
import {findPackageRootSync} from './utils/index.js';
/**
* CLI executable name
*/
export const NAME_BIN = 'appium-docs';
/**
* Expected name of the `mkdocs.yml` config file
*/
export const NAME_MKDOCS_YML = 'mkdocs.yml';
/**
* `python` executable
*/
export const NAME_PYTHON = 'python';
/**
* It's `package.json`!
*/
export const NAME_PACKAGE_JSON = 'package.json';
/**
* Name of the `requirements.tx
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key