Coder Social home page Coder Social logo

claudebot / hubot-manpages Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 2.0 8 KB

:notebook: A Hubot script for searching, and viewing examples in a collection of simplified, and community-driven man pages (powered by http://tldr-pages.github.io/).

License: Other

JavaScript 16.29% CoffeeScript 74.31% Shell 9.40%

hubot-manpages's Introduction

hubot-manpages

Build Status devDependency Status

A Hubot script for searching, and viewing examples in a collection of simplified, and community-driven man pages (powered by http://tldr-pages.github.io/).

See src/manpages.coffee for full documentation.

Installation via NPM

  1. Install the hubot-manpages module as a Hubot dependency by running:

    npm install --save hubot-manpages
    
  2. Enable the module by adding the hubot-manpages entry to your external-scripts.json file:

    [
        "hubot-manpages"
    ]
  3. Run your bot and see below for available config / commands

Commands

Command Listener ID Description
hubot mp search command manpages.search Returns tldr man page / examples for command
hubot mp random manpages.random Returns a random tldr man page / examples for a command

Sample Interaction

user1>> hubot mp search alias
hubot>>

    # alias

    > Creates an alias for a word when used.
    > As the first word of a command.

    - Create a generic alias:

    `alias {{word}}="{{command}}"`

    - Remove an aliased command:

    `unalias {{word}}`

    - Full list of aliased words:

    `alias -p`

    - Turn rm an interative command:

    `alias {{rm}}="{{rm -i}}"`

    - Override la as ls -a:

    `alias {{la}}="{{ls -a}}"`
hubot>> user1: Original `alias` (common) tldr man page: https://github.com/tldr-pages/tldr/blob/master/pages/common/alias.md

hubot-manpages's People

Contributors

mrsaints avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

informatics-lab

hubot-manpages's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.