cli: add .rubocop.yml

This commit is contained in:
0x1eef 2024-02-17 16:07:49 -03:00
parent c6203c83bd
commit 8246c43e30
4 changed files with 9 additions and 0 deletions

View file

@ -15,6 +15,9 @@ AllCops:
Include:
- lib/*.rb
- lib/**/*.rb
- libexec/*
- libexec/twenty/*
- bin/*
- test/*_test.rb
##

View file

@ -1,2 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
Process.wait spawn([File.join(__dir__, "twenty"), "20"], *ARGV)

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Twenty::Command
module CommonOptionMixin
def self.included(mod)

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
module Twenty::Command::SQLiteMixin
def run_command(options)
path = options.database || Twenty.default_database