Skip to content

Commit 1dc3b03

Browse files
committed
Added top-level documentation to CommandKit::Completion::Task.
1 parent 171389a commit 1dc3b03

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/command_kit/completion/task.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010

1111
module CommandKit
1212
module Completion
13+
#
14+
# `command_kit-completion` rake task.
15+
#
16+
# ## Example
17+
#
18+
# require 'command_kit/completion/task'
19+
# CommandKit::Completion::Task.new(
20+
# class_file: './examples/cli',
21+
# class_name: 'Foo::CLI',
22+
# output_file: 'completion.sh'
23+
# )
24+
#
1325
class Task < Rake::TaskLib
1426

1527
# The file that the command_kit CLI is defined in.

0 commit comments

Comments
 (0)