Sha256: d3353d677632c7b05fd295150f1ff174ba7261fdaf9b933b688550bff37bf86a

Contents?: true

Size: 312 Bytes

Versions: 11

Compression:

Stored size: 312 Bytes

Contents

#!/usr/bin/env ruby

config =
  if (xdg = ENV['XDG_CONFIG_HOME'].to_s.strip).size == 0
    File.join(ENV.fetch('HOME'), '.config', 'commit_message')
  else
    File.join(xdg, 'commit_message')
  end

exec 'ollama_cli', '-M', "#{config}/options.json",
  '-s', "#{config}/system.txt", '-p', "#{config}/prompt.txt"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
utils-0.53.1 bin/commit_message
utils-0.53.0 bin/commit_message
utils-0.52.1 bin/commit_message
utils-0.52.0 bin/commit_message
utils-0.51.1 bin/commit_message
utils-0.51.0 bin/commit_message
utils-0.50.0 bin/commit_message
utils-0.49.1 bin/commit_message
utils-0.49.0 bin/commit_message
utils-0.48.0 bin/commit_message
utils-0.47.0 bin/commit_message