Sha256: ad0b258f47b53ccadc2f1e4eada7c6078cada3e330ecfa4cfa44878892cd3ed2

Contents?: true

Size: 413 Bytes

Versions: 9

Compression:

Stored size: 413 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 '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

9 entries across 9 versions & 1 rubygems

Version Path
vite_ruby-1.1.2 lib/vite_ruby/cli.rb
vite_ruby-1.1.1 lib/vite_ruby/cli.rb
vite_ruby-1.1.0 lib/vite_ruby/cli.rb
vite_ruby-1.0.5 lib/vite_ruby/cli.rb
vite_ruby-1.0.4 lib/vite_ruby/cli.rb
vite_ruby-1.0.3 lib/vite_ruby/cli.rb
vite_ruby-1.0.2 lib/vite_ruby/cli.rb
vite_ruby-1.0.1 lib/vite_ruby/cli.rb
vite_ruby-1.0.0 lib/vite_ruby/cli.rb