Class: SatokiCli::Cli

Inherits:
Thor
  • Object
show all
Includes:
Pikachu
Defined in:
lib/satoki_cli/cli.rb

Instance Method Summary collapse

Methods included from Pikachu

logo

Instance Method Details

#helloObject



14
15
16
# File 'lib/satoki_cli/cli.rb', line 14

def hello
  puts 'Hello World!!'
end

#nippoObject



24
25
26
27
28
# File 'lib/satoki_cli/cli.rb', line 24

def nippo
  project = ENV['SCRAPBOX_PROJECT']
  title = Time.now.strftime('%Y/%-m/%-d')
  system "open https://scrapbox.io/#{project}/#{title}"
end

#pikachuObject



19
20
21
# File 'lib/satoki_cli/cli.rb', line 19

def pikachu
  Pikachu.
end