bktide
Version:
Command-line interface for Buildkite CI/CD workflows with rich shell completions (Fish, Bash, Zsh) and Alfred workflow integration for macOS power users
12 lines • 504 B
JavaScript
import { BaseBuildCreateFormatter } from './Formatter.js';
import { SEMANTIC_COLORS } from '../../ui/theme.js';
export class PlainTextFormatter extends BaseBuildCreateFormatter {
name = 'plain';
formatBuild(build, options) {
const lines = [];
lines.push(`${options.verb === 'created' ? 'Created' : 'Rebuilt'} build #${build.number}`);
lines.push(SEMANTIC_COLORS.muted(build.web_url));
return lines.join('\n');
}
}
//# sourceMappingURL=PlainTextFormatter.js.map