Skip to content

Commit

Permalink
feat(app-vite/app-webpack): "describe" cmd > keep account of methods …
Browse files Browse the repository at this point in the history
…with alias
  • Loading branch information
rstoenescu committed Apr 16, 2024
1 parent e02a3ff commit e860fa9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-vite/lib/cmd/describe.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ function printProp (prop, propName, indentLevel) {
}

console.log(`${ indent }Description: ${ prop.desc }`)

if (prop.alias) {
console.log(`${ indent }Alias: ${ prop.alias }`)
}
if (type === 'Function') {
console.log(`${ indent }Function form:${ getMethodParams(prop, true) }${ getMethodReturnValue(prop) }`)
}
Expand Down
4 changes: 4 additions & 0 deletions app-webpack/lib/cmd/describe.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ function printProp (prop, propName, indentLevel) {
}

console.log(`${ indent }Description: ${ prop.desc }`)

if (prop.alias) {
console.log(`${ indent }Alias: ${ prop.alias }`)
}
if (type === 'Function') {
console.log(`${ indent }Function form:${ getMethodParams(prop, true) }${ getMethodReturnValue(prop) }`)
}
Expand Down

0 comments on commit e860fa9

Please sign in to comment.