Sha256: cf6cbc8c772cecb060ce224d88e6e6b6587dd6bfe07668696e3757dd4bd65976

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

module Ncn
  module Command
    class Help < Base
      HELP = <<~TEXT
        Usage:

        create - generate new note and open it with the $EDITOR
        open - open one or multiple notes as a single draft
        help - list all commands or display detailed help for a specific command

        Common options:

        --help - similar to the help command
        --path - repository directory path (default is "notes" in the current directory)
      TEXT

      def perform
        puts HELP
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ncn-0.1.0 lib/ncn/command/help.rb