Enable command hints in the cli
Enable printing of the command hints by default in all commands. Change-Id: I1e835ba8e32b7abc5094abcb28c130db7d508d5d Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
This commit is contained in:
@@ -266,6 +266,8 @@ impl {{ target_class_name }}Command {
|
||||
{%- endif %}
|
||||
|
||||
{%- endif %} {#- specialities #}
|
||||
// Show command specific hints
|
||||
op.show_command_hint();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,6 +113,8 @@ impl fooCommand {
|
||||
|
||||
let data = ep.query_async(client).await?;
|
||||
op.output_single::<rsp>(data)?;
|
||||
// Show command specific hints
|
||||
op.show_command_hint();
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user