Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Feature/header log #598

Merged
merged 23 commits into from
Dec 1, 2021
Merged

Feature/header log #598

merged 23 commits into from
Dec 1, 2021

Conversation

henry88lay
Copy link
Contributor

Added and tested Display headers for all sfpowerkit command with version and release

@henry88lay henry88lay added the enhancement Modifications to existing feature label Nov 19, 2021
@henry88lay henry88lay self-assigned this Nov 19, 2021
src/SFPKLogger.ts Outdated Show resolved Hide resolved
src/sfpowerkitCommand.ts Outdated Show resolved Hide resolved
src/sfpowerkitCommand.ts Outdated Show resolved Hide resolved
src/commands/sfpowerkit/org/connectedapp/create.ts Outdated Show resolved Hide resolved
src/sfpowerkitCommand.ts Outdated Show resolved Hide resolved
@henry88lay
Copy link
Contributor Author

Tested all commands, PMD and all of Org Commands do not display the Header

@@ -16,7 +17,7 @@ core.Messages.importMessagesDirectory(__dirname);
// or any library that is using the messages framework can also be loaded this way.
const messages = core.Messages.loadMessages("sfpowerkit", "source_pmd");

export default class Pmd extends SfdxCommand {
export default class Pmd extends SFPowerkitCommand {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Pmd class needs an explicitly defined --loglevel flag where the default level is set to INFO, otherwise the level is WARN which stops the header in SfpowerkitCommand from printing.

src/sfpowerkitCommand.ts Outdated Show resolved Hide resolved
src/SFPKLogger.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@azlam-abdulsalam azlam-abdulsalam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okie

@azlam-abdulsalam azlam-abdulsalam merged commit f6dacd1 into main Dec 1, 2021
@azlam-abdulsalam azlam-abdulsalam deleted the feature/header-log branch December 1, 2021 00:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Modifications to existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants