-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add foghost name tab completion #8
Comments
Just a possible argument completer when using get-foghost |
Could cache the get-foghosts as a $script:hostsList script scoped variable, but that could change the flow with needed a -refresh switch or something when wanting to get an updated list. |
Can use new test function for only doing autocomplete in 1.6 where reads are faster |
Gh actions releases #18 - more progress towards auto release
Added, will be in next release |
- Handled Auto add aliases on build #9 so added aliases are available to users. - Implemented Add foghost name tab completion #8 - Added github actions for testing build and releasing versions - Fixed issue with getting fog inventory in 1.6 - Implemented #16 for getting and setting fog global settings in fog 1.6 - Implemented #14 for getting the fog version - Implemented #13 for invoking wol task for a host - Added basic pipeline functionality for foghost objects in all applicable functions. - Made it possible to send multiple specified snapins in a single start-fogsnapin call - Added tab completion of server specific host names and snapin names in various functions like get-foghost, start-fogsnapin. set-fogsnapins, remove-usbmac - removed advanced function begin/end blocks where they weren't being used as such, kept things in process block - implemented Add https option to fog server settings #15 by making it so you can put http://fogserver or https://fogserver or fogserver as the fogserver property in settings to implement that change with minimal issues with existing setting configs. Added an enable-FogApiHTTPS funcction as well as a disable to easily enable that. - Implemented Add function for attempting to set windows machine to boot to pxe from within windows #17
- Handled Auto add aliases on build #9 so added aliases are available to users. - Implemented Add foghost name tab completion #8 - Added github actions for testing build and releasing versions - Fixed issue with getting fog inventory in 1.6 - Implemented #16 for getting and setting fog global settings in fog 1.6 - Implemented #14 for getting the fog version - Implemented #13 for invoking wol task for a host - Added basic pipeline functionality for foghost objects in all applicable functions. - Made it possible to send multiple specified snapins in a single start-fogsnapin call - Added tab completion of server specific host names and snapin names in various functions like get-foghost, start-fogsnapin. set-fogsnapins, remove-usbmac - removed advanced function begin/end blocks where they weren't being used as such, kept things in process block - implemented Add https option to fog server settings #15 by making it so you can put http://fogserver or https://fogserver or fogserver as the fogserver property in settings to implement that change with minimal issues with existing setting configs. Added an enable-FogApiHTTPS funcction as well as a disable to easily enable that. - Implemented Add function for attempting to set windows machine to boot to pxe from within windows #17 - Fixed issues with release workflow syntax
- Handled Auto add aliases on build #9 so added aliases are available to users. Added simpler test-string function in build script - Implemented Add foghost name tab completion #8 - Added github actions for testing build and releasing versions - Fixed issue with getting fog inventory in 1.6 - Implemented #16 for getting and setting fog global settings in fog 1.6 - Implemented #14 for getting the fog version - Implemented #13 for invoking wol task for a host - Added basic pipeline functionality for foghost objects in all applicable functions. - Made it possible to send multiple specified snapins in a single start-fogsnapin call - Added tab completion of server specific host names and snapin names in various functions like get-foghost, start-fogsnapin. set-fogsnapins, remove-usbmac - removed advanced function begin/end blocks where they weren't being used as such, kept things in process block - implemented Add https option to fog server settings #15 by making it so you can put http://fogserver or https://fogserver or fogserver as the fogserver property in settings to implement that change with minimal issues with existing setting configs. Added an enable-FogApiHTTPS funcction as well as a disable to easily enable that. - Implemented Add function for attempting to set windows machine to boot to pxe from within windows #17
- Handled Auto add aliases on build #9 so added aliases are available to users. - Implemented Add foghost name tab completion #8 - Added github actions for testing build and releasing versions - Fixed issue with getting fog inventory in 1.6 - Implemented #16 for getting and setting fog global settings in fog 1.6 - Implemented #14 for getting the fog version - Implemented #13 for invoking wol task for a host - Added basic pipeline functionality for foghost objects in all applicable functions. - Made it possible to send multiple specified snapins in a single start-fogsnapin call - Added tab completion of server specific host names and snapin names in various functions like get-foghost, start-fogsnapin. set-fogsnapins, remove-usbmac - removed advanced function begin/end blocks where they weren't being used as such, kept things in process block - implemented Add https option to fog server settings #15 by making it so you can put http://fogserver or https://fogserver or fogserver as the fogserver property in settings to implement that change with minimal issues with existing setting configs. Added an enable-FogApiHTTPS funcction as well as a disable to easily enable that. - Implemented Add function for attempting to set windows machine to boot to pxe from within windows #17
I believe I can add dynamic foghostname argument completers
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions_argument_completion?view=powershell-7.3#argumentcompleter-attribute
This could make many functions easier to use for new and experienced users alike. This same idea could be added to other fog object types as well. Just dynamic tab completions for everything would be awesome, but it will take some time to build out.
The text was updated successfully, but these errors were encountered: