Indent subcommands in help output (#3703)
This commit is contained in:
parent
bf508bfd77
commit
870797c16c
|
@ -78,8 +78,8 @@ export const Help: React.FC<Help> = ({ commands }) => (
|
||||||
{command.subCommands &&
|
{command.subCommands &&
|
||||||
command.subCommands.map((subCommand) => (
|
command.subCommands.map((subCommand) => (
|
||||||
<Text key={subCommand.name} color={Colors.Foreground}>
|
<Text key={subCommand.name} color={Colors.Foreground}>
|
||||||
<Text> </Text>
|
|
||||||
<Text bold color={Colors.AccentPurple}>
|
<Text bold color={Colors.AccentPurple}>
|
||||||
|
{' '}
|
||||||
{subCommand.name}
|
{subCommand.name}
|
||||||
</Text>
|
</Text>
|
||||||
{subCommand.description && ' - ' + subCommand.description}
|
{subCommand.description && ' - ' + subCommand.description}
|
||||||
|
|
Loading…
Reference in New Issue