aws / aws/aws-sam-cli

sam cli verb to list out functions/targets to be built

Open
#1,916 4 comments 0 reactions 0 assignees View on GitHub
maintainer/need-followup stage/pm-review type/feature type/ux
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement
I wish SAM CLI would have a command/verb like `sam list` or `sam local list` or `sam local functions` that would parse directories/functions and list out what is going to be built by `sam build`

### Proposal

whatever part of sam build does, that finds targets in the base directory to build, have that as a separate cli action to be able to see what would be built.

maybe a --dry-run flag for build too

### Additional Details
https://github.com/awslabs/aws-sam-cli/blob/af124bc559847f1f687538da7fbc9925783d09f8/samcli/commands/build/build_context.py#L140-L154

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.