Sha256: e39274e8c234a33ab570ea4baddcf79e3bfc2958f32b995e8de5a576f2d3ca9a

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module Luo
  module CLI
    class InitNotebook < InitBase

      desc "Initialize a notebook project"
      def copy_notebook
        say "Copying Notebook...", :green
        copy_file "luo.ipynb", "luo.ipynb"
      end

      def copy_gemfile
        say "Copying Gemfile...", :green
        template "NotebookGemfile.erb", "Gemfile"
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
luo-0.2.7 lib/luo/cli/init_notebook.rb
luo-0.2.6 lib/luo/cli/init_notebook.rb
luo-0.2.5 lib/luo/cli/init_notebook.rb
luo-0.2.4 lib/luo/cli/init_notebook.rb