try to add accordion
This commit is contained in:
@@ -10,6 +10,7 @@ import { Tabs } from 'nextra/components';
|
||||
import { RunTabs } from 'components/operators/nodes/node-run-command-tabs';
|
||||
import { VarInfo } from 'components/variable-info.tsx';
|
||||
import { MigrateTabs } from 'components/operators/nodes/node-migrate-command-tabs'
|
||||
import {Accordion, AccordionItem} from "@nextui-org/react";
|
||||
|
||||
# Nym Node Setup & Run
|
||||
|
||||
@@ -73,9 +74,37 @@ You can always use `--help` flag to see the commands or arguments associated wit
|
||||
|
||||
Run `./nym-node --help` to see all available commands:
|
||||
|
||||
|
||||
|
||||
<Accordion>
|
||||
<AccordionItem key="1" aria-label="<code>nym-node --help</code> command output" subtitle="Press to expand" title="Command Output">
|
||||
|
||||
```
|
||||
<!-- cmdrun ../../../../target/release/nym-node --help -->
|
||||
!-- cmdrun ../../../../target/release/nym-node --help --
|
||||
|
||||
Usage: nym-node [OPTIONS] <COMMAND>
|
||||
|
||||
Commands:
|
||||
build-info Show build information of this binary
|
||||
bonding-information Show bonding information of this node depending on its currently selected mode
|
||||
node-details Show details of this node
|
||||
migrate Attempt to migrate an existing mixnode or gateway into a nym-node
|
||||
run Start this nym-node
|
||||
sign Use identity key of this node to sign provided message
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
-c, --config-env-file <CONFIG_ENV_FILE>
|
||||
Path pointing to an env file that configures the nym-node and overrides any preconfigured values [env: NYMNODE_CONFIG_ENV_FILE_ARG=]
|
||||
--no-banner
|
||||
Flag used for disabling the printed banner in tty [env: NYMNODE_NO_BANNER=]
|
||||
-h, --help
|
||||
Print help
|
||||
-V, --version
|
||||
Print version
|
||||
```
|
||||
</AccordionItem>
|
||||
</Accordion>
|
||||
|
||||
To list all available flags for each command, run `./nym-node <COMMAND> --help` for example `./nym-node run --help`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user