Class: Arfi::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/arfi/cli.rb

Overview

Top-level CLI entrypoint for the ‘arfi` executable.

It wires new command groups and keeps backward-compatible aliases:

  • ‘arfi init` (preferred)

  • ‘arfi functions` (preferred)

  • ‘arfi project` (alias for init)

  • ‘arfi f_idx` (alias for functions)

Instance Method Summary collapse

Instance Method Details

#versionInteger

Print the gem version to stdout.

Returns:

  • (Integer)


34
35
36
# File 'lib/arfi/cli.rb', line 34

def version
  $stdout.write(Arfi::VERSION, "\n")
end