From 9c6e2a92d001f605af9c7c759b951bd2ddecd530 Mon Sep 17 00:00:00 2001 From: Rich Smith Date: Thu, 19 Oct 2023 09:21:17 -0400 Subject: [PATCH] fix(docgen): add con4m defintions to fix docgen cmd regression --- src/configs/chalk.c42spec | 2 +- src/configs/getopts.c4m | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/configs/chalk.c42spec b/src/configs/chalk.c42spec index 2d269cca..4e12e552 100644 --- a/src/configs/chalk.c42spec +++ b/src/configs/chalk.c42spec @@ -13,7 +13,7 @@ default_key_priority := 4611686018427387904 # 2^62. # These are the valid command-line commands. valid_chalk_cmds := ["help", "insert", "extract", "delete", "config", "load", "dump", "docker", "version", "env", "exec", - "setup", "login", "logout"] + "setup", "login", "logout", "docgen"] all_cmds_that_insert := ["insert", "build", "load", "setup", "login", "logout"] diff --git a/src/configs/getopts.c4m b/src/configs/getopts.c4m index 215b4c13..f7a00a51 100644 --- a/src/configs/getopts.c4m +++ b/src/configs/getopts.c4m @@ -751,7 +751,12 @@ command login { Starts the API login process and will provide a URL to follow in a browser to complete authentication. """ } - +command docgen { + shortdoc: "Generate technical documentation" + doc: """ +Internal function to generate technical documentation in markdown format. +""" + } }