We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a300f72 commit e3c3217Copy full SHA for e3c3217
lib/bashly/script/base.rb
@@ -23,6 +23,7 @@ class Base
23
long
24
name
25
parent_name
26
+ private
27
required
28
short
29
validate
lib/bashly/views/command/usage_commands.erb
@@ -3,7 +3,7 @@
3
printf "<%= strings[:commands] %>\n"
4
% end
5
% maxlen = command_names.map(&:size).max
6
-% commands.each do |command|
+% commands.reject(&:private).each do |command|
7
% summary = command.summary
8
% summary = strings[:default_command_summary] % { summary: summary } if command.default
9
% if command.group
0 commit comments