Build script runner interactive mode
When executing flubu script or any other process locally in console it is recomended to run FlubuCore in interactive mode it gives you some really nice features which are listed in the features section. To start FlubuCore interactive mode just execute command flubu -i in your favorite console.
Demo¶
Build script used in demo.
Features¶
Features in interactive mode
- Target's tab completition with tab key
- Option's (parameter) tab completition with tab key
- Option's (parameter) value tab completition with tab key for enum types
- Target help displayed at the bottom of console
- Option help displayed at the bottom of console
- Execute external commands. Meaning if you run FlubuCore interactive mode for example in powershell all powershell commands are available in FlubuCore interactive mode.
- Execute external processes. For some of them FlubuCore offers tab completion with help at the bottom of console out of the box(such as dotnet, git...See full list)
- Next / previos target with up and down arrow
- Next / previos option with up and down arrow
- Next / previos target or option with tab key
- History of executed commans with up and down arrow
- No need to load script for each executed target
- reload or load another script
- Navigation beatwen folders
Internal commands¶
cdchange directory.dirlist files and directoriesl|load -s={script}Load another FlubuCore script.r|reloadReload currently loaded script.e|q|exit|quitExit Flubu Core interactive mode.
Hot keys¶
Following hot keys are supported:
EnterExecutes entered commandTabcompletes user's input with active target/option hint (if found)Up arrowselect previous command from history if user's input is empty or select previous hint (if possible)Down arrowselect next command from history if user's input is empty or select next hint (if possible)Left arrowmove cursor leftRight arrowmove cursor rightBackspaceremoves character before cursorDeleteremoves character under cursorHomemove cursor to the beginning of user's inputEndmove cursor to the end of user's input
External processes tab completion list¶
List of external processes for which tab completion of options/switches is available in FlubuCore interactive mode. it is planned that all docker, octopus, azure, npm and chocolatey commands will also be supported in the near feature.
- dotnet build
- dotnet test
- dotnet pack
- dotnet publish
- dotnet nuget push
- dotnet restore
- dotnet tool install
- dotnet tool update
- dotnet tool uniinstall
- git add
- git commit
- git push
- git checkout
- git clone
- git submodule
- git rm
- git tag
- gitversion
- coverlet
- sqlcmd.exe