bundle-plugin - manual de referência, opções, exemplos de comandos


NOME

bundle-plugin - Gerenciar plug-ins do Bundler

SINOPSE

bundle plugin install PLUGINS [--source=SOURCE] [--version=version] [--git|--local_git=git-url] [--branch=branch|--ref=rev]
bundle plugin uninstall PLUGINS
bundle plugin list
bundle plugin help [COMMAND]

DESCRIÇÃO

Você pode instalar, desinstalar e listar plug-ins com este comando para estender as funcionalidades do Bundler.

SUBCOMANDOS

instalar

Instale o(s) plug-in(s) fornecido(s).

bundle plugin install bundler-graph

Instale a gem bundler-graph de RubyGems.org. A fonte global, especificada em source no Gemfile, é ignorada.

bundle plugin install bundler-graph --source https://example.com

Instale a gem bundler-graph de example.com. A fonte global, especificada em source no Gemfile, não é considerada.

bundle plugin install bundler-graph --version 0.2.1

Você pode especificar a versão da gem via --version.

bundle plugin install bundler-graph --git https://github.com/rubygems/bundler-graph

Instale a gem bundler-graph do repositório Git. --git pode ser substituído por --local-git. Você não pode usar --git e --local-git ao mesmo tempo. Você pode usar URLs Git padrão como:

ssh://[user@]host.xz[:port]/path/to/repo.git
http[s]://host.xz[:port]/path/to/repo.git
/path/to/repo
file:///path/to/repo

Ao especificar --git/--local-git, você pode usar --branch ou --ref para especificar qualquer ramificação, tag ou hash de confirmação (revisão) a ser usado. Quando você especifica ambos, apenas o último é usado.

Desinstalar

Desinstale o(s) plug-in(s) especificado(s) em PLUGINS.

lista

Liste os plugins instalados e os comandos disponíveis.

Sem opções.

ajuda

Descreva os subcomandos ou um subcomando específico.

Sem opções.

VEJA TAMBÉM

  • Como escrever um plugin Bundler https://bundler.io/guides/bundler_plugins.html