microsoft / microsoft/kiota

Add switch to skip workspace management for clients generation

Open
#6,465 0 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

Provide an optional switch when generation is happening in Kiota to avoid creating `.kiota` folder.. See related issue #6452

### Overview
Add a new switch --no-workspace to avoid creating the .kiota folder.

--no-workspace should be provided for the "new commands" available for those using the workspace experience. (https://github.com/microsoft/kiota/blob/main/specs/scenarios/kiota-workspace.md and plugins https://github.com/microsoft/kiota/blob/main/specs/scenarios/plugins.md)

### Acceptance criteria
- Map that to a new generation setting, which can be also exposed on the JSON RPC and TS API surface.
- That can then drive workspace steps in the main generation for both the plugins and the clients
- Log files will go into output path folder.
- Add a hidden environment variable KIOTA_DISABLE_LOG_FILES in case one doesn't want to get the generated logs?

Contributor guide

Open the contributing guide

Research direction

Start by locating the generation setting and the main generation flow that performs workspace steps for clients and plugins. Then trace the JSON RPC and TypeScript API surfaces; done means --no-workspace is supported there, logs use the output folder, and KIOTA_DISABLE_LOG_FILES suppresses generated logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, typescript
Domain
cli, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.