Rails 3 的 bash_completion

发布于 2024-09-25 17:00:02 字数 1539 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦旅人picnic 2024-10-02 17:00:02

我写了这个 https://github.com/jweslley/rails_completion

对 Ruby on Rails 的 Bash 补全支持。

完成例程为完成以下内容提供支持:

  • rails 命令(例如:new、server、console、generate、runner...)
  • rails 生成器(例如:脚手架、控制器、邮件程序、观察者……)
  • rails 环境
  • 生成器上的rails字段类型(例如:脚手架、模型、迁移......)
  • 常见的--长选项...

I wrote this one https://github.com/jweslley/rails_completion

Bash completion support for Ruby on Rails.

The completion routines provide support for completing:

  • rails commands (e.g.: new, server, console, generate, runner, ...)
  • rails generators (e.g.: scaffold, controller, mailer, observer, ...)
  • rails environments
  • rails field's types on generators (e.g.: scaffold, model, migration, ...)
  • common --long-options...
绿萝 2024-10-02 17:00:02

Nice https://github.com/jweslley/rails_completion 也用 Brew 封装。

履行:
brew 安装rails-completion
在您的 Mac 上只需几秒钟即可安装!

并且不要忘记将 .rails_generators~ 添加到 .gitignore

Nice https://github.com/jweslley/rails_completion is also wrapped with Brew.

Perform:
brew install rails-completion
on your Mac to install it in seconds!

And don't forget to add .rails_generators~ to .gitignore.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文