Skip to content

Add examples for the flag "--format" #1422

Closed

Description

@FeynmanZhou

What happened in your environment?

After upgraded to ORAS v1.2.0, I noticed that there are no any examples of the flag --format in ORAS CLI command help reference. Users might be hard to understand how to use --format in ORAS CLI commands

image

What did you expect to happen?

It would be much user-friendly if we could add basic examples for the flag "--format" in the help reference.

How can we reproduce it?

Run "--help" in each oras command

What is the version of your ORAS CLI?

oras v1.2.0

What is your OS environment?

Ubuntu 22.06

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Jun 21, 2024
  2. changed the title [-]Add examples for the flag "--fortmat"[/-] [+]Add examples for the flag "--format"[/+] on Jun 21, 2024
  3. shizhMSFT commented on Jun 26, 2024

    @shizhMSFT
    Contributor

    We are having more and more examples in the Example section of the help. Sometimes, it is hard for me to find the usage and flag usages.

    Should we consider man pages instead of --help? That is,

    man oras

    or maybe in PowerShell

    Get-Help oras
  4. removed
    triage
    on Jun 28, 2024
  5. added this to the v1.3.0 milestone on Jun 28, 2024
  6. added
    documentation
    and removed
    bug
    on Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationformat output

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions