#I'm thinking we could remove the

1 messages · Page 1 of 1 (latest)

thorny lichen
#

Got it trimmed down to:

sipsma@dagger_dev:~/repo/github.com/sipsma/dagger$ ./hack/with-dev dagger -M -c '.core | env | .help'
✔ connect 0.2s
✔ loading type definitions 0.3s

OBJECT
  Env

AVAILABLE FUNCTIONS
  binding                            retrieve a binding by name
  bindings                           return all bindings in the environment
  with-cache-volume-input            Create or update a binding of type CacheVolume in the environment
  with-cache-volume-output           Declare a desired CacheVolume output to be assigned in the environment
  with-container-input               Create or update a binding of type Container in the environment
  with-container-output              Declare a desired Container output to be assigned in the environment
  with-directory-input               Create or update a binding of type Directory in the environment
  with-directory-output              Declare a desired Directory output to be assigned in the environment
  with-env-input                     Create or update a binding of type Env in the environment
  with-env-output                    Declare a desired Env output to be assigned in the environment
  with-file-input                    Create or update a binding of type File in the environment
  with-file-output                   Declare a desired File output to be assigned in the environment
  with-git-ref-input                 Create or update a binding of type GitRef in the environment
  with-git-ref-output                Declare a desired GitRef output to be assigned in the environment
  with-git-repository-input          Create or update a binding of type GitRepository in the environment
  with-git-repository-output         Declare a desired GitRepository output to be assigned in the environment
  with-llm-input                     Create or update a binding of type LLM in the environment
  with-llm-output                    Declare a desired LLM output to be assigned in the environment
  with-module-config-client-input    Create or update a binding of type ModuleConfigClient in the environment
  with-module-config-client-output   Declare a desired ModuleConfigClient output to be assigned in the environment
  with-module-input                  Create or update a binding of type Module in the environment
  with-module-output                 Declare a desired Module output to be assigned in the environment
  with-module-source-input           Create or update a binding of type ModuleSource in the environment
  with-module-source-output          Declare a desired ModuleSource output to be assigned in the environment
  with-sdk-config-input              Create or update a binding of type SDKConfig in the environment
  with-sdk-config-output             Declare a desired SDKConfig output to be assigned in the environment
  with-secret-input                  Create or update a binding of type Secret in the environment
  with-secret-output                 Declare a desired Secret output to be assigned in the environment
  with-service-input                 Create or update a binding of type Service in the environment
  with-service-output                Declare a desired Service output to be assigned in the environment
  with-socket-input                  Create or update a binding of type Socket in the environment
  with-socket-output                 Declare a desired Socket output to be assigned in the environment
  with-string-binding                Create or update a binding of type string in the environment
  with-terminal-input                Create or update a binding of type Terminal in the environment
  with-terminal-output               Declare a desired Terminal output to be assigned in the environment

And changing what's masked is just a matter of updating a list of types, so easy to adjust more if needed.

@fervent crescent you good with me pushing that to the environment-api branch?