Also came up with an approach for dealing with commands that will probably work with contexts
		
			
				
	
	
		
			11 lines
		
	
	
		
			224 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			224 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package ssmparameters
 | |
| 
 | |
| import (
 | |
| 	"context"
 | |
| 	"github.com/lmika/awstools/internal/ssm-browse/models"
 | |
| )
 | |
| 
 | |
| type SSMProvider interface {
 | |
| 	List(ctx context.Context, prefix string, nextToken string) (*models.SSMParameters, error)
 | |
| }
 |