Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the Flash function into multiple PowerShell functions #290

Closed
Badgerati opened this issue Jun 28, 2019 · 0 comments · Fixed by #300
Closed

Split the Flash function into multiple PowerShell functions #290

Badgerati opened this issue Jun 28, 2019 · 0 comments · Fixed by #300

Comments

@Badgerati
Copy link
Owner

The flash function's actions should be split out into multiple PowerShell functions. Each of these functions should be exported in pode.psd1.

Action New Function Returns
Add Add-PodeFlashMessage void
Clear Clear-PodeFlashMessages void
Get Get-PodeFlashMessage array
Keys Get-PodeFlashMessageKeys array
Remove Remove-PodeFlashMessage bool

Possible new functions:

  • Test-PodeFlashMessageKey (test if a key is present)
@Badgerati Badgerati added this to the 1.0.0 milestone Jun 28, 2019
@Badgerati Badgerati added this to To do in Function Syntax Refactor via automation Jun 28, 2019
@Badgerati Badgerati changed the title Split the flash function into multiple PowerShell functions Split the Flash function into multiple PowerShell functions Jun 28, 2019
@Badgerati Badgerati moved this from To do to In progress in Function Syntax Refactor Jul 3, 2019
@Badgerati Badgerati self-assigned this Jul 3, 2019
Function Syntax Refactor automation moved this from In progress to Done Jul 4, 2019
Badgerati added a commit that referenced this issue Jul 4, 2019
#290: Converts Flash into PowerShell functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant