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

EPIC: Improve End User documentation for OCM CLI #119

Open
6 tasks
Tracked by #161
robertwol opened this issue Jul 11, 2023 · 1 comment
Open
6 tasks
Tracked by #161

EPIC: Improve End User documentation for OCM CLI #119

robertwol opened this issue Jul 11, 2023 · 1 comment
Labels
area/documentation Documentation related area/ipcei Important Project of Common European Interest component/ocm-core Open Component Model Core aka. go API kind/epic Large multi-story topic

Comments

@robertwol
Copy link

robertwol commented Jul 11, 2023

Description:

As an end user of the OCM CLI, I want the documentation to be clear, concise, and user-friendly, providing a comprehensive understanding of OCM-related terms and concepts. The documentation should include concrete examples and avoid excessive complexity to help users grasp the core concepts easily. Avoid academic language and focus on clarity

The documentation should be accessible in different ways and formats:

  1. Help text provided when executing ocm |<verb>|<object> --help.
  • should follow best-practices from other CLIs, like kubectl or helm
  • should only contain
    • rough, but enough (!!!) description
    • examples
    • available (sub-) commands
    • flags
  • extensive and lengthy text must be avoided
  1. Help text provided in form of a man page. The current CLI reference documentation available using ocm --help (which is the same as used on the web page: https://ocm.software/docs/cli-reference/) comes from https://github.com/open-component-model/ocm/tree/main/docs/reference. From a content perspective this is basically what should go into a manpage.
  1. Documentation on the web page.
  • should have an introduction section for OCM key concepts at the beginning, that also explains where OCM has advantages to other solutions and can bring real benefit. As example the Kargo project may be useful: https://docs.kargo.io/concepts
  • should explain the usage of the OCM CLI with real-life examples, covering the most basic commands in an end-2-end scenario
    • create ctf
    • add cv to rtf
    • get cv
    • transfer cv
    • download resources from cv

Definition of Done:

  • There is short, precise, helpful and easy to understand help text available for every command and subcommand.
  • There is a man page available that - in addition to a combination of all help texts - gives extensive explanation of all (sub) commands
  • There is a document on the website available that explains the usage of the OCM CLI using examples for the basic commands required to fulfil the end-2-end scenario: create and inspect CV, transfer CV, download resources from CV
  • The documentation has been simplified and condensed, removing unnecessary details while maintaining clarity.
  • Academic-style sections of the documentation have been restructured to communicate the core concepts in an accessible manner.
  • The revised documentation has been reviewed and validated by end users for clarity and usability.
@morri-son morri-son added the area/ipcei Important Project of Common European Interest label Feb 6, 2024
@morri-son morri-son added the area/documentation Documentation related label Feb 15, 2024
@morri-son morri-son transferred this issue from open-component-model/ocm Mar 17, 2024
@morri-son morri-son added the component/ocm-core Open Component Model Core aka. go API label Mar 17, 2024
@morri-son morri-son changed the title End User documentation to be improved EPIC: End User documentation to be improved Oct 22, 2024
@morri-son morri-son added the kind/epic Large multi-story topic label Oct 22, 2024
@morri-son morri-son changed the title EPIC: End User documentation to be improved EPIC: Improve End User documentation Oct 22, 2024
@morri-son morri-son changed the title EPIC: Improve End User documentation EPIC: Improve End User documentation for OCM CLI Oct 22, 2024
@open-component-model open-component-model deleted a comment from jensh007 Oct 31, 2024
@morri-son
Copy link
Contributor

https://carlosbecker.com/posts/golang-completions-cobra/ for the creation of manpages using mango and cobra:

@morri-son morri-son moved this from 🆕 ToDo to 📋 Next-UP in OCM Backlog Board Nov 19, 2024
@morri-son morri-son moved this from 📋 Next-UP to 🆕 ToDo in OCM Backlog Board Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Documentation related area/ipcei Important Project of Common European Interest component/ocm-core Open Component Model Core aka. go API kind/epic Large multi-story topic
Projects
Status: 🆕 ToDo
Development

No branches or pull requests

2 participants