Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(service describe): Output of service details [vanilla, color, hipster] #75

Closed
wants to merge 2 commits into from

Commits on Jul 8, 2019

  1. feature(service describe): Output of service details

    As discussed in knative#48 this `kn service describe` as changed in this commit
    mimics `kubectl describe <sth>` as that it output detail information
    in human readable output.
    
    Summary information of a list of services or a single services as well
    as exporting the service in various formats (JSON, YAML) is reserved to
    `kn service get`
    
    For this reason, the generic Printer handling from cli-runtime has been
    removed as `kn service describe` only outputs human readable format
    (that is btw also true for `kubectl` describe which does not allow for
    `-o` kind of options).
    
    This command shows information about the serivce itself, but also a summary about the associated revisions.
    
    "kn service describe" knows three modes, which can be combined:
    
    `--all`    : Print more information. By default only are shorter summary is shown
    `--color`  : Use a colorful output (but only when on a tty)
    `--hipster`: Experimental output mode for a very compact representation using emojis
    
    Of course there can be more and other information to be shown. Let's discuss and add this (and maybe remove the dense format)
    rhuss committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    ac4b85a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e67694b View commit details
    Browse the repository at this point in the history