Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate shell completions for command_kit commands

License

NotificationsYou must be signed in to change notification settings

postmodern/command_kit-completion

Repository files navigation

CICode ClimateGem Version

Description

Adds a rake task that generates shell completion rules for acommand_kit CLI.The rake task loads the CLI class and uses thecompletely library to generatethe shell completion rules.

Features

  • Supports automatically generating completion rules from acommand_kit CLIclass's options and sub-commands.
  • Supports loading additional completion rules from a YAML file.

Examples

require'command_kit/completion/task'CommandKit::Completion::Task.new(class_file:'./examples/cli',class_name:'Foo::CLI',output_file:'completion.sh')

Synopsis

rake command_kit:completion

Requirements

License

Copyright (c) 2023-2024 Hal Brodigan

See {file:LICENSE.txt} for details.

About

Generate shell completions for command_kit commands

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages


[8]ページ先頭

©2009-2025 Movatter.jp