Skip to content

Commit

Permalink
Added human_context_switcher as a runnable script, updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uriyay committed May 1, 2018
1 parent f26029c commit 8ee8b11
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,23 @@ remind:
google:
Search a phrase in google.
syntax: google [push|set] phrase
param push: push the first result to the stack
param set: set the phrase in memory to the first result
param phrase: a phrase to search in google
wiki:
Gets wikipedia info about something
Syntax: wiki [push|set] phrase
msdn:
Gets msdn about function
param function_name: the function to get msdn about
man:
Gets man page
syntax: man <topic> [section]
Also you can type a text wrapped by "`" in order to run to run it with python.
for example: "push `1+1`" will push 2).
In a similar way you can wrap a text by "$" in order to run it with the command line.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ terminaltables
ipython>=4.0
unidecode
setuptools>=39
[-e] git+https://github.com/abenassi/Google-Search-API.git#egg=Google-Search-API
-e git+https://github.com/abenassi/Google-Search-API.git#egg=Google-Search-API

5 changes: 5 additions & 0 deletions scripts/human_context_switcher
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from human_context_switcher import main

main.main()
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
author='uriyay',
url='https://github.com/uriyay/human_context_switcher',
packages=find_packages(),
scripts=['scripts/human_context_switcher']
)

0 comments on commit 8ee8b11

Please sign in to comment.