mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-24 04:03:01 +08:00
7 lines
285 B
JavaScript
7 lines
285 B
JavaScript
import { e as decamelize } from './dependencies.js';
|
|
|
|
const decamelizeFlagKey = flagKey => `--${decamelize(flagKey, {separator: '-'})}`;
|
|
|
|
const joinFlagKeys = (flagKeys, prefix = '--') => `\`${prefix}${flagKeys.join(`\`, \`${prefix}`)}\``;
|
|
|
|
export { decamelizeFlagKey, joinFlagKeys };
|