Skip to content

CLI: update handling of various core types #6359

Closed

Description

@sipsma

As described in this comment (and that issue generally), we need to make some adjustments to the CLIs behavior when dagger call ends in various core types.

There's a handful of related adjustments needed here. Creating as a checklist for now to save issue spam; can break down into more issues if useful though. I'm including my initial suggestions on how to handle these, but to be clear these are not finalized decisions and the final call can be made as part of implementing this

  • Handle arbitrary user objects
    • Print fields (as in TypeDef fields, so just trivially resolvable values) as a json object
  • Handle container
    • call sync only, rely on progress output for anything else
  • Handle directory
    • call sync only, rely on progress output for anything else
  • Handle file
    • call sync only, rely on progress output for anything else
  • Handle IDs returned by sync (i.e. the case where the user explicitly chains sync)
    • just rely on progress output, don't show the id

Activity

  1. added
    area/cli
    on Jan 3, 2024
  2. self-assigned this
    on Jan 16, 2024
  3. removed
    area/cli
    on May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions