mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Generate docs basde on package root .roc file
This commit is contained in:
parent
e549456668
commit
15590fb31b
6 changed files with 115 additions and 188 deletions
|
@ -270,12 +270,13 @@ pub fn build_app<'a>() -> Command<'a> {
|
|||
)
|
||||
.subcommand(
|
||||
Command::new(CMD_DOCS)
|
||||
.about("Generate documentation for Roc modules (Work In Progress)")
|
||||
.arg(Arg::new(DIRECTORY_OR_FILES)
|
||||
.about("Generate documentation for a Roc package")
|
||||
.arg(Arg::new(ROC_FILE)
|
||||
.multiple_values(true)
|
||||
.required(false)
|
||||
.help("The directory or files to build documentation for")
|
||||
.help("The package's main .roc file")
|
||||
.allow_invalid_utf8(true)
|
||||
.required(false)
|
||||
.default_value(DEFAULT_ROC_FILENAME),
|
||||
)
|
||||
)
|
||||
.subcommand(Command::new(CMD_GLUE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue