Sha256: ee9b532f0ee8c994c4f23caea2d52876b9af92c4614e51dc8f08517a4b52a448

Contents?: true

Size: 1.56 KB

Versions: 6

Compression:

Stored size: 1.56 KB

Contents

# frozen_string_literal: true

require 'dry/cli'

# Public: Command line interface that allows to install the library, and run
# simple commands.
module Neptuno
  module CLI
    extend Dry::CLI::Registry

    register 'version', Version, aliases: ['v', '-v', '--version', 'info']
    register 'init', Init
    register 'ls', List, aliases: ['ps']
    register 'activate', Activate, aliases: ['a']
    register 'config', Configure, aliases: %w[configure conf cc]
    register 'execute', Execute, aliases: ['e']
    register 'build', ::Neptuno::Docker::Build, aliases: ['b']
    register 'up', Docker::Up, aliases: ['u']
    register 'down', Docker::Down, aliases: ['d']
    register 'restart', Docker::Restart, aliases: ['r']
    register 'attach', Docker::Attach, aliases: ['at']
    register 'k8s', K8s::Attach, aliases: ['k']
    register 'log', Docker::Log, aliases: ['l']
    register 'start', Overmind::Start, aliases: ['s']
    register 'stop', Overmind::Stop, aliases: ['x']
    register 'update', Services::Update, aliases: ['su']
    register 'connect', Overmind::Connect, aliases: ['c']
    register 'services list', Services::List, aliases: ['ls']
    register 'services add', Services::Add
    register 'services destroy', Services::Destroy, aliases: ['rm']
    register 'services update', Services::Update, aliases: ['su']
    register 'git stash', ::Neptuno::Git::Stash
    register 'git pull', ::Neptuno::Git::Pull
    register 'install', ::Neptuno::CLI::Install
    register 'environment update', Environment::Update
    register 'environment config', Environment::Config
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
neptuno-1.0.6 lib/neptuno/cli.rb
neptuno-1.0.5 lib/neptuno/cli.rb
neptuno-1.0.3 lib/neptuno/cli.rb
neptuno-1.0.2 lib/neptuno/cli.rb
neptuno-1.0.1 lib/neptuno/cli.rb
neptuno-1.0.0 lib/neptuno/cli.rb