Sha256: 792156ec8efd82ab3c5f2d6173f28c457dc104d2e014e2faf69aaccc27aaedf0

Contents?: true

Size: 469 Bytes

Versions: 25

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

require 'dry/cli'

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

  register 'build', Build, aliases: ['b']
  register 'clobber', Clobber, aliases: %w[clean clear]
  register 'dev', Dev, aliases: %w[d serve]
  register 'install', Install, aliases: %w[setup init]
  register 'version', Version, aliases: ['v', '-v', '--version', 'info']
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
vite_ruby-2.0.0.beta.4 lib/vite_ruby/cli.rb
vite_ruby-2.0.0.beta.3 lib/vite_ruby/cli.rb
vite_ruby-2.0.0.beta.2 lib/vite_ruby/cli.rb
vite_ruby-2.0.0.beta.1 lib/vite_ruby/cli.rb
vite_ruby-1.2.20 lib/vite_ruby/cli.rb
vite_ruby-1.2.18 lib/vite_ruby/cli.rb
vite_ruby-1.2.18.pre.rc1 lib/vite_ruby/cli.rb
vite_ruby-1.2.17 lib/vite_ruby/cli.rb
vite_ruby-1.2.16 lib/vite_ruby/cli.rb
vite_ruby-1.2.15 lib/vite_ruby/cli.rb
vite_ruby-1.2.14 lib/vite_ruby/cli.rb
vite_ruby-1.2.13 lib/vite_ruby/cli.rb
vite_ruby-1.2.12 lib/vite_ruby/cli.rb
vite_ruby-1.2.11 lib/vite_ruby/cli.rb
vite_ruby-1.2.10 lib/vite_ruby/cli.rb
vite_ruby-1.2.9 lib/vite_ruby/cli.rb
vite_ruby-1.2.8 lib/vite_ruby/cli.rb
vite_ruby-1.2.7 lib/vite_ruby/cli.rb
vite_ruby-1.2.6 lib/vite_ruby/cli.rb
vite_ruby-1.2.5 lib/vite_ruby/cli.rb