Sha256: ca1053cbfc0fb6ede166bf37e37807dd443f04414c38899a233cfa38f801e8d1

Contents?: true

Size: 1.82 KB

Versions: 3

Compression:

Stored size: 1.82 KB

Contents

module Glman
  module Commands
    class HelpMessages
      def self.intro
        "Glman ver: #{VERSION}"
      end

      def self.unknown_command
        "Command unknown"
      end

      def self.show
        %{
Need help :D

commands:

config                                         # display current configuration
config gitlab                                  # show gitlab configuration
config users                                   # show users configuration
config aliases                                 # show aliases configuration
config notify_irc                              # show notify_irc configuration

you can show specific config details:

  config gitlab url                    # specific attribute in gitlab config
  config users pniemczyk@o2 id         # specific attribute in users config

config gitlab url:http://site private_token:123 --set
config gitlab --clear

config notify_irc server:irc.org channel:free ssl:true port:10 nick:test --set
config notify_irc --clear

config aliases pn:pawel@o2.pl --add
config aliases pn --del
config aliases --clear

cache_users                                    # build user cache for better performance RECOMMENDED
cache_users --clear                            # clear user cache

mr <user_email_or_alias>                       # create merge request for user for current branch to master with title as last commit message

mr <user_email_or_alias> --push                # push before make a merge request
mr <user_email_or_alias> --notify              # notify on irc after merge request

mr <user_email_or_alias> --push --notify       # :D

mr <user_email_or_alias> <message> <target_branch> --push <origin> # full options for merge request (default origin is a origin :D)

Any questions pniemczyk@o2.pl or go to https://github.com/pniemczyk/glman
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
glman-0.1.3 lib/glman/commands/help_messages.rb
glman-0.1.2 lib/glman/commands/help_messages.rb
glman-0.1.1 lib/glman/commands/help_messages.rb