Skip to content

Commit 25ea8ef

Browse files
formatter (#356)
1 parent 5b7c3e5 commit 25ea8ef

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const { Formatter, Style } = require('../Formatter');
2+
3+
const FORMATTER = Formatter.build()
4+
.style('name', Style.cyan)
5+
.style('created', Style.dateDiff)
6+
.style('updated', Style.dateDiff);
7+
8+
module.exports = FORMATTER;

lib/output/formatters/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const formatters = {
2323
Pipeline: require('./Pipeline.formatter'),
2424
Registry: require('./Registry.formatter'),
2525
Annotation: require('./Annotations.formatter'),
26+
StepType: require('./StepType.formatter'),
2627
};
2728
/* eslint-enable */
2829

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)