function update
update(
methodologyName: string,
_options?: InstallOptions,
): Promise<InstallResult>

Update an installed methodology to the latest version

Examples

Example 1

const result = await update("shape-up", { global: true });
if (result.success) {
  console.log(`Updated ${result.methodology} at ${result.path}`);
}

Parameters

methodologyName: string
  • Name of the methodology to update (e.g., "shape-up")
optional
_options: InstallOptions

Return Type

Promise<InstallResult>

Promise with update result

Usage

import { update } from ".";