Logo
Explore Help
Sign In
mirrors/brew
1
0
Fork 0
You've already forked brew
mirror of https://github.com/Homebrew/brew.git synced 2025-07-14 16:09:03 +08:00
Code Issues Packages Projects Releases Wiki Activity
brew/Library/Homebrew/dev-cmd/rubocop.rb

20 lines
342 B
Ruby
Raw Normal View History

Add stub Ruby commands for all Bash commands. This gets us pretty similar (but easier to manage) manpage output but much nicer completions etc. for all these commands.
2024-07-14 16:18:26 -04:00
# typed: strict
# frozen_string_literal: true
require "abstract_command"
dev-cmd/rubocop: use `ShellCommand`
2024-07-15 11:40:37 -04:00
require "shell_command"
Add stub Ruby commands for all Bash commands. This gets us pretty similar (but easier to manage) manpage output but much nicer completions etc. for all these commands.
2024-07-14 16:18:26 -04:00
module Homebrew
dev-cmd/rubocop: use `ShellCommand`
2024-07-15 11:40:37 -04:00
module DevCmd
Add stub Ruby commands for all Bash commands. This gets us pretty similar (but easier to manage) manpage output but much nicer completions etc. for all these commands.
2024-07-14 16:18:26 -04:00
class Rubocop < AbstractCommand
dev-cmd/rubocop: use `ShellCommand`
2024-07-15 11:40:37 -04:00
include ShellCommand
Add stub Ruby commands for all Bash commands. This gets us pretty similar (but easier to manage) manpage output but much nicer completions etc. for all these commands.
2024-07-14 16:18:26 -04:00
cmd_args do
description <<~EOS
Installs, configures and runs Homebrew's `rubocop`.
EOS
end
end
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 107ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API