Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 3 PowerShell powershell-profile Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
PowerShell: https://github.com/dahlbyk/posh-git/blob/master/src/GitPromp...
I believe this is clean Bash code and clean PowerShell code, and a script with a certain complexity. The functions inside the Bash script are documented using comments, the ones inside the PowerShell script are documented using "structured comments" (similar to javadoc/xmldoc/...). The parameters of the functions inside the PowerShell script also contain metadata which is used to provide completion on the commandline and similar functionality as the command line flags you demonstrated.
I just learned about 'getopts' in Bash, which you can actually also use to implement parameters to a Bash function. So what you are showing on a script level, can also be applied for functions. Did not know about that.
Still, not saying PowerShell is better than Bash in a Linux context, but it seems a lot of Linux users have a gut reaction to right out reject PowerShell. I think it does have some advantages for certain use cases, like more complex scripts, a cross-platform context, ... and of course, for someone with a .NET background it's easier to program more complex things with it.
PowerShell powershell-profile related posts
- Stuck trying to execute a ps1 from my github repo
- Repos and PowerShell
- posh-git
- Adding Git autocomplete to PowerShell (Windows)
- I just discovered aliases and I'm looking for more.
- A Deno-licious Workflow
- How to ALWAYS see which branch you are on in the commandline? (just like with git bash)
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source powershell-profile projects in PowerShell? This list will help you:
Project | Stars | |
---|---|---|
1 | posh-git | 7,404 |
2 | powershell_profile.d | 9 |
3 | pwsh-profile | 0 |
Sponsored