{"id":26054689,"url":"https://github.com/avdaredevil/components-for-powershell","last_synced_at":"2025-04-11T02:09:34.663Z","repository":{"id":80177499,"uuid":"71076056","full_name":"avdaredevil/Components-For-Powershell","owner":"avdaredevil","description":"Polyfill Like components for PowerShell - Single Line Integrations with any Technology Stack","archived":false,"fork":false,"pushed_at":"2025-02-19T13:32:22.000Z","size":463,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T02:09:28.107Z","etag":null,"topics":["bower","c","cli","ease","environment","git","golang","integration","java","mongodb","nodejs","path","php","polyfill","powershell","python","r","ruby","utility","windows"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avdaredevil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-16T20:42:57.000Z","updated_at":"2025-02-19T13:32:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"389eef17-eaf9-4cda-b8ce-af134d87bdbf","html_url":"https://github.com/avdaredevil/Components-For-Powershell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2FComponents-For-Powershell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2FComponents-For-Powershell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2FComponents-For-Powershell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2FComponents-For-Powershell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avdaredevil","download_url":"https://codeload.github.com/avdaredevil/Components-For-Powershell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328160,"owners_count":21085261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bower","c","cli","ease","environment","git","golang","integration","java","mongodb","nodejs","path","php","polyfill","powershell","python","r","ruby","utility","windows"],"created_at":"2025-03-08T09:13:01.375Z","updated_at":"2025-04-11T02:09:34.632Z","avatar_url":"https://github.com/avdaredevil.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Components-For-Powershell\n\u003e Polyfill Like components for PowerShell - Single Line Integrations with any Technology Stack\n\n## Usage\n```PowerShell\nConfigure-Component.ps1 [-Component] \u003cObject\u003e [[-Preference] \u003cObject\u003e] [-Silent] [-ThrowErrors] [-InRecurse] [-Remove] [-RawOutput] [\u003cCommonParameters\u003e]\nConfigure-Component.ps1 [-List] [-PassThru]\nConfigure-Component.ps1 [-Update]\n```\n- Will configure any component (Technology Stack, Programming Language, Utility in one line!)\n- Use `sal cc Configure-Component`, to make it even easier!\n  - Then you can configure components like `cc java` or `cc python,ruby @{python=3}`\n- *__Note__: If you've never run PowerShell Scripts before refer to __Setup PowerShell Section__ Below*\n\n## Features\n- Polyfill Inspired Logic for Connecting Components\n- Teardown mechanism added\n- Auto Path Switching\n- Component shared and dynamic args ability\n- Alias based component resolution\n- Custom Components added\n\n## Examples\n#### Refer **[Here](docs/examples.md)** for examples\n#### Refer **[Here](docs/scr.md)** for screenshots\n\n## In Built Components\n#### In Script:\nName        | Type       | Preferences/Arguments | Alias\n----------- | ---------- | --------------------- | ------\n`Bower`     | Tech Stack | `[-NoPrepend]`        | `NA`\n`Java`      | Language   | `NA`                  | `NA`\n`Go`        | Language   | `NA`                  | `NA`\n`Python`    | Language   | `[-Version=2 \u003cstring\u003e]`| `py`\n`Racket`    | Language   | `NA`                  | `DrRacket`\n`Git`       | Language   | `NA`                  | `NA`\n`PHP`       | Language   | `[-Version=5.4 \u003c5.4,5.6\u003e]`| `NA`\n`C`         | Language   | `NA`                  | `NA`\n`R`         | Language   | `[-Bit=32 \u003c32,64\u003e]`   | `NA`\n`Ruby`      | Language   | `[-Version=2 \u003cstring\u003e]`| `rb`\n`ssh`       | Tech Stack | `NA`                  | `NA`\n`MongoDB`   | Tech Stack | `NA`                  | `Mongo`\n\n#### Custom Components:\nName              | Type                | Description | Preferences\n----------------- | ------------------- | ----------- | -----\n`Oh-My-Prompt`    | PS Enhancement      | Loads an Oh-My-Zsh Agnoster like prompt system for powershell, complete with flags, customization and so much more! | `NA`\n`SSH-Link-Opener` | PS Enhancement      | Scans your current shell buffer for URLs and opens them dynamically when detected | `NA`\n`Combinatorics`   | PS Enhancement      | Adds probability Math Functions | `NA` \n`Clock`           | Aesthetic Addon     | Creates a *New background Thread* that injects your Clock to your shell | `[-Refresh] \u003cint\u003e`\n`IP-Address`      | Aesthetic Addon     | Creates a *New background Thread* that injects your IP address to your shell | `[-Refresh] \u003cint\u003e`\n`Mysql`           | Language Extension  | Connects to mySQL and adds helper functions | `NA`\n`node-extensions` | Language Extension  | Configure node related extensions like [*Node_Webkit*] | `[-Silent]`\n\n## Parameters\nParameter         | Definition | Parameter Set\n----------------- | ---------- | -------------\n`-Component \u003cc [Array/String]\u003e`  | Attach all `c` components to PShell | `Install`\n`-Preference \u003cp [Value/Object]\u003e` | Pass preference \u003ccode\u003ep[c] \u0026#124;\u0026#124; p\u003c/code\u003e to every `c` | `Install`\n`-List`           | List all Components | `List`\n`-PassThru`       | Pass the components in a object [*Programmatic API*] | `List`\n`-Silent`         | Show only failures | `Common`\n`-ThrowErrors`    | Instead of `Write-AP \u003cerr_msg\u003e` use `throw \u003cexception\u003e` instead | `Common`\n`-Remove \u003cc\u003e`     | Remove all components `c` that have a teardown behavior defined | `Common`\n`-Debug`          | Enable Debugging messages | `Common`\n`-RawOutput`      | Skip Write-AP and return PlainText instead [*Useful when used within other scripts*] | `Common`\n\n## Set Up PowerShell [If you've never run a script in PowerShell]\n- Open PowerShell with Admin Access\n- Run `Set-ExecutionPolicy Bypass`\n- This allows scripts to be run in PowerShell\n- cd to the *Folder* where you downloaded/cloned [Configure-Component.ps1](Configure-Component.ps1)\n- `./Configure-Component.ps1`*`\u003carguments\u003e`*\n\n---\nBy: [Apoorv Verma](https://github.com/avdaredevil)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdaredevil%2Fcomponents-for-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favdaredevil%2Fcomponents-for-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdaredevil%2Fcomponents-for-powershell/lists"}