From 826fecaf957595f420a6ee319c54a183e9c5f40a Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Fri, 6 Dec 2024 09:17:52 -0600 Subject: [PATCH] docs: add more descriptions for the key and version flags --- documentation/commands/categories.md | 40 ++++++++++++++++++---- documentation/commands/changelogs.md | 12 ++++++- documentation/commands/custompages.md | 12 ++++++- documentation/commands/docs.md | 40 ++++++++++++++++++---- documentation/commands/openapi.md | 19 +++++++++-- documentation/commands/versions.md | 48 ++++++++++++++++++++++++--- src/lib/flags.ts | 10 ++++-- 7 files changed, 158 insertions(+), 23 deletions(-) diff --git a/documentation/commands/categories.md b/documentation/commands/categories.md index 70021b722..85e9355de 100644 --- a/documentation/commands/categories.md +++ b/documentation/commands/categories.md @@ -15,9 +15,10 @@ USAGE $ rdme categories --key [--version ] FLAGS - --key= (required) ReadMe Project API key - --version= Project version. If running command in a CI environment and this option is not passed, the main - project version will be used. + --key= (required) An API key for your ReadMe project. Note that API authentication is required despite + being omitted from the example usage. See our docs for more information: + https://github.com/readmeio/rdme/tree/v9#authentication + --version= ReadMe project version DESCRIPTION Get all categories in your ReadMe project. @@ -26,6 +27,19 @@ EXAMPLES Get all categories associated to your project version: $ rdme categories --version={project-version} + +FLAG DESCRIPTIONS + --key= + + An API key for your ReadMe project. Note that API authentication is required despite being omitted from the example + usage. See our docs for more information: https://github.com/readmeio/rdme/tree/v9#authentication + + ReadMe project API key + + --version= ReadMe project version + + Your ReadMe project version. If running command in a CI environment and this option is not passed, the main project + version will be used. See our docs for more information: https://docs.readme.com/main/docs/versions ``` ## `rdme categories create TITLE` @@ -42,11 +56,12 @@ ARGUMENTS FLAGS --categoryType=