Golden Nectar is a project designed to streamline API client generation and deployment workflows. This repository contains PowerShell scripts to automate tasks such as generating API clients and publishing them.
npm install golden-nectarGolden Nectar is a project designed to streamline API client generation and deployment workflows. This repository contains PowerShell scripts to automate tasks such as generating API clients and publishing them.
Follow these steps to get started:
1. Install Required Modules
Ensure you have the ps-menu module installed:
``shell`
Install-Module -Name ps-menu
2. Run the Build Script
Execute the main build script to access the available commands:
`shell`
pwsh ./build.ps1
3. Select a Task
Ensure the following tools and dependencies are installed on your system:
- PowerShell Core
Install PowerShell Core (pwsh) if not already installed.
Download PowerShell Core
- Kiota
Kiota is required for generating API clients. Install it globally using the .NET CLI:
`shell`
dotnet tool install --global Kiota
- ps-menu Module
Install the ps-menu module for interactive menu functionality:`
shell`
Install-Module -Name ps-menu
- build.ps1: The main PowerShell script for generating and managing API clients.rubber/network
- : Directory where generated API clients are stored.README.md
- : Documentation for the project.
To generate the Reminding API client:
1. Run the build script:
`shell`
pwsh ./build.ps1
New reminding client
2. Select from the menu.rubber/network/reminding
3. The generated client will be available in the directory.
- Ensure the OpenAPI specification files are accessible at the paths defined in the script.
- Modify the build.ps1` script if you need to customize the generation process.
For more details, refer to the Developer Guide 🧑.
This project is internal and should not be shared outside the organization.