Autodesk / Autodesk/shore

shore-config - exec command using shore config with the correct profile

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
DevX enhancement exec Shore-CLI
Dominant language
Go
Stars
21
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## Summary

Original Author: @dkirillov
`shore exec` command should now use the exec config specified in the shore config.

Specifically, in the shore config it is stored under the following path - `profiles.[profile-name].exec`. Example shore config:

```yml
renderer:
...

executor:
...

profiles:
default:
application: \"myAppName\"
pipeline: \"awesome-pipeline\"
render: ... # Path or Object
exec: ... # Path or Object
e2e: ... # Path or Object

```

What is present in the profile could either be the full exec config object (in-line config), or a path to the `exec.yml` file (external config). Either or is allowed and should be used.

## Motivation

## Describe alternatives you've considered

## Additional context

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the `shore exec` entry point and the profile configuration handling first. Trace `profiles.[profile-name].exec` for both an inline object and an external `exec.yml` path. Done means `shore exec` uses the selected profile's exec configuration in either supported form.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.