Skip to content

Enhancements #1

@Rapidhands

Description

@Rapidhands

Hi,
I've discovered your module. Great job. Could i suggest you add more samples for use it.
i.e. : Auto build GUI - How ? Always with the .csv file in input,.. but the .csv file could be build automatically.
In a Main Script :

  • Gather script files (.bat, .cmd, .ps1) in a specific folder (i.e. Scripts )
  • Building the .csv file automatically with info gathered
  1. Section : Auto-completion depending on file name. i.e. If file name begin by "Get", section will be "QUERIES", il the name file begin by "ADD" section will be "NEW", ...
  2. Method : Auto-completion depending on file type (.ps1, .cmd, ...)
  3. Command : auto-completion depending of file Name excluding the prefix of the file Name
  4. Descrption : auto-completion depending of the Help Section in the script
    if .cmd or .bat file : read first line (comment) in the file script
    if .ps1 file : read .SYNOPSIS section
  • Saving the .csv file
  • Call Show-MenuGui cmdlet

With this, anyone could build a dynamic GUI depending of the currents scripts in path

I'm thinking that this could be a real good enhancement to show or describe about your module in your Gibhub

I'm aware that to realize this, there are some prerequisites (Naming convention for script files, Help or comments in script files, ...)

Regards
Olivier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions