aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/CLI
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-12-13 13:10:06 +0800
committer简律纯 <i@jyunko.cn>2023-12-13 13:10:06 +0800
commit135a9eb3829e0705a81ebdfcb5fdbeb6924c3392 (patch)
tree33456063c442a7ca88517002dad76c65d96d44c6 /docs/CLI
parentd0968e4baec83b0ea6dbd1f03334238a9f03d4f7 (diff)
downloadinfini-135a9eb3829e0705a81ebdfcb5fdbeb6924c3392.tar.gz
infini-135a9eb3829e0705a81ebdfcb5fdbeb6924c3392.zip
refactor: rename `HydroRollCore` -> `infini`
Diffstat (limited to 'docs/CLI')
-rw-r--r--docs/CLI/index.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/CLI/index.md b/docs/CLI/index.md
index 3eb9bf48..cef69104 100644
--- a/docs/CLI/index.md
+++ b/docs/CLI/index.md
@@ -5,7 +5,7 @@ title: CLI Reference
```python exec="1" idprefix=""
import argparse
import re
-from HydroRollCore import Cli
+from infini import Cli
parser = Cli().parser
@@ -26,7 +26,7 @@ def render_parser(
) -> str:
"""Render the parser help documents as a string."""
result = [f"{'#' * heading_level} {title}\n"]
- if parser.description and title != "HydroRollCore":
+ if parser.description and title != "infini":
result.append("> " + parser.description + "\n")
for group in sorted(
@@ -62,5 +62,5 @@ def render_parser(
return "\n".join(result)
-print(render_parser(parser, "HydroRollCore"))
+print(render_parser(parser, "infini"))
``` \ No newline at end of file