upbound / up

The @upbound CLI
Apache License 2.0
52 stars 41 forks source link

Align trace's arguments with query+get and fix up/down navigation #446

Closed sttts closed 6 months ago

sttts commented 6 months ago

Use the same positional argument code and resource type parsing from query and make trace use it. So you can write the same expression as in kubectl get, e.g.

    # Trace all buckets.
    up alpha trace buckets

    # Trace all Crossplane claims.
    up alpha trace claims

    # Trace buckets and vpcs.
    up alpha trace buckets,vpc

    # Trace the buckets prod and staging.
    up alpha trace buckets prod staging

    # Trace the bucket prod and the vpc default.
    up alpha trace bucket/prod vpc/default