<commit_before>module Percheron
  module Commands
    class Console < Abstract

      parameter('STACK_NAME', 'stack name', required: true)

      def execute
        super
        require 'pry-byebug'
        pry
      end

      private

        def logs(unit_name, follow: false)
          stack.logs!(unit_name, follow: follow)
          nil
        end

        def shell(unit_name)
          stack.shell!(unit_name)
          nil
        end

        def purge(unit_names)
          stack.purge!(unit_names: [ *unit_names ])
          nil
        end

        def create(unit_names, start: false)
          stack.create!(unit_names: [ *unit_names ], start: start)
          nil
        end

        def recreate(unit_names, start: false)
          stack.create!(unit_names: [ *unit_names ], start: start)
          nil
        end
<commit_msg>Use Percheron namespace for console command mode<commit_after>module Percheron
  module Commands
    class Console < Abstract

      parameter('STACK_NAME', 'stack name', required: true)

      def execute
        super
        require 'pry-byebug'
        pry Percheron
      end

      private

        def logs(unit_name, follow: false)
          stack.logs!(unit_name, follow: follow)
          nil
        end

        def shell(unit_name)
          stack.shell!(unit_name)
          nil
        end

        def purge(unit_names)
          stack.purge!(unit_names: [ *unit_names ])
          nil
        end

        def create(unit_names, start: false)
          stack.create!(unit_names: [ *unit_names ], start: start)
          nil
        end

        def recreate(unit_names, start: false)
          stack.create!(unit_names: [ *unit_names ], start: start)
          nil
        end

{'fraction_non_alphanumeric': 0.08032128514056225, 'fraction_numerical': 0.0, 'mean_word_length': 1.7335423197492164, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6180792', 'n_tokens_mistral': 506, 'n_tokens_neox': 491, 'n_words': 127}